org.objectweb.carol.rmi.multi
Class MultiPRODelegate
java.lang.Object
org.objectweb.carol.rmi.multi.MultiPRODelegate
- PortableRemoteObjectDelegate
public class MultiPRODelegate
extends java.lang.Object
implements PortableRemoteObjectDelegate
Class MultiPRODelegate
This is a proxy for multi orb portable
remote object delegate reference this class with the systeme property : java
-Djavax.rmi.CORBA.PortableRemoteObjectClass=org.objectweb.carol.rmi.multi.MultiPRODelegate
... for the moment this class is only for one orb This class parse the
communication.xml file for initilization
Version:
- Guillaume Riviere (Guillaume.Riviere@inrialpes.fr)
void | connect(Remote target, Remote source) - Connection method all available protocols
|
void | exportObject(Remote obj) - Export a Remote Object on all available protocols
|
Object | narrow(Object obj, Class newClass) - Narrow method on the default protocol
|
Remote | toStub(Remote obj) - To stub method on the iiop protocol
|
void | unexportObject(Remote obj) - Method for unexport object on all available protocols
|
MultiPRODelegate
public MultiPRODelegate()
throws RemoteException
connect
public void connect(Remote target,
Remote source)
throws RemoteException
Connection method all available protocols
target
- a remote object;source
- another remote object;
exportObject
public void exportObject(Remote obj)
throws RemoteException
Export a Remote Object on all available protocols
narrow
public Object narrow(Object obj,
Class newClass)
throws ClassCastException
Narrow method on the default protocol
- an object of type newClass
toStub
public Remote toStub(Remote obj)
throws NoSuchObjectException
To stub method on the iiop protocol
- the stub object
unexportObject
public void unexportObject(Remote obj)
throws NoSuchObjectException
Method for unexport object on all available protocols