Name
PortableRemoteObjectDelegate
Synopsis
This interface represents a delegate that implements the functionality
exported in the javax.rmi.PortableRemoteObject
interface. You specify
a delegate to be used by your PortableRemoteObject
instances by
setting the javax.rmi.CORBA.PortableRemoteObjectClass
system property.
public interface PortableRemoteObjectDelegate { // Public Instance Methods public abstract void connect(java.rmi.Remote target, java.rmi.Remote source) throws java.rmi.RemoteException; public abstract void exportObject( java.rmi.Remote obj) throws java.rmi.RemoteException; public abstract Object narrow(Object narrowFrom, Class narrowTo) throws ClassCastException; public abstract java.rmi.Remote toStub( java.rmi.Remote obj) throws java.rmi.NoSuchObjectException; public abstract void unexportObject( java.rmi.Remote obj) throws java.rmi.NoSuchObjectException; }
Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.