简体   繁体   中英

extending properties of a class if the other class is already extended in java

I have created a class with some methods which is extended already with UnicastRemoteObjects

public class AccountAuthorizationFilter extends UnicastRemoteObject implements Serializable{//methods}

I have another class which is extended by another class

public class DRMSServerImplementation extends DRMSInterfacePOA{}

How to extend the methods of AccountAuthorizationFilter into DRMSServerImplementation ?? Any alternative possibilities excluding the use of objects of that class?

AccountAuthorizationFilter和DRMSServerImplementation类可以实现另一个接口,其中包含您需要在两个类中使用的方法。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM