|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.objectweb.carol.rmi.multi.DummyPRODelegate
Class DummyPRODelegate is a fake PortableRemoteObject for local
methods call
| Constructor Summary | |
DummyPRODelegate()
|
|
| Method Summary | |
void |
connect(java.rmi.Remote target,
java.rmi.Remote source)
Connection method |
void |
exportObject(java.rmi.Remote obj)
Export a Remote Object |
java.lang.Object |
narrow(java.lang.Object obj,
java.lang.Class newClass)
Narrow method |
java.rmi.Remote |
toStub(java.rmi.Remote obj)
To stub method |
void |
unexportObject(java.rmi.Remote obj)
Method for unexport object |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DummyPRODelegate()
| Method Detail |
public void exportObject(java.rmi.Remote obj)
throws java.rmi.RemoteException
exportObject in interface javax.rmi.CORBA.PortableRemoteObjectDelegateobj - to export
java.rmi.RemoteException - exporting remote object problem
public void unexportObject(java.rmi.Remote obj)
throws java.rmi.NoSuchObjectException
unexportObject in interface javax.rmi.CORBA.PortableRemoteObjectDelegateobj - object to unexport
java.rmi.NoSuchObjectException - if the object is not currently exported
public void connect(java.rmi.Remote target,
java.rmi.Remote source)
throws java.rmi.RemoteException
connect in interface javax.rmi.CORBA.PortableRemoteObjectDelegatetarget - a remote object;source - another remote object;
java.rmi.RemoteException - if the connection fail
public java.lang.Object narrow(java.lang.Object obj,
java.lang.Class newClass)
throws java.lang.ClassCastException
narrow in interface javax.rmi.CORBA.PortableRemoteObjectDelegateobj - the object to narrownewClass - the expected type of the result
java.lang.ClassCastException - if the obj class is not compatible with a
newClass cast
public java.rmi.Remote toStub(java.rmi.Remote obj)
throws java.rmi.NoSuchObjectException
toStub in interface javax.rmi.CORBA.PortableRemoteObjectDelegateobj - to unexport
java.rmi.NoSuchObjectException - if the object is not currently exported
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||