public interface PortableRemoteObjectDelegate
PortableRemoteObject
中方法实现的委派 。
委托是实现此接口的类的单例实例,并为javax.rmi.PortableRemoteObject的所有方法提供了替换javax.rmi.PortableRemoteObject
。
通过提供委托人的类名作为javax.rmi.CORBA.PortableRemoteObjectClass
系统属性的值来启用代表。
PortableRemoteObject
void exportObject(Remote obj) throws RemoteException
Remote toStub(Remote obj) throws NoSuchObjectException
void unexportObject(Remote obj) throws NoSuchObjectException
Object narrow(Object narrowFrom, 类 narrowTo) throws ClassCastException
void connect(Remote target, Remote source) throws RemoteException
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.