| org.objectweb.jonas_lib.naming.JacORBPRODelegate
JacORBPRODelegate | public class JacORBPRODelegate extends org.objectweb.carol.rmi.multi.JacORBPRODelegate (Code) | | Use EJB context classloader when possible
author: Florent Benoit |
Method Summary | |
public void | exportObject(Remote obj) Makes a server object ready to receive remote calls. | public Object | narrow(Object narrowFrom, Class narrowTo) Checks to ensure that an object of a remote or abstract interface type
can be cast to a desired type.
Parameters: narrowFrom - the object to check. Parameters: narrowTo - the desired type. |
exportObject | public void exportObject(Remote obj) throws RemoteException(Code) | | Makes a server object ready to receive remote calls. Note that subclasses
of PortableRemoteObject do not need to call this method, as it is called
by the constructor.
Parameters: obj - the server object to export. exception: RemoteException - if export fails. |
narrow | public Object narrow(Object narrowFrom, Class narrowTo) throws ClassCastException(Code) | | Checks to ensure that an object of a remote or abstract interface type
can be cast to a desired type.
Parameters: narrowFrom - the object to check. Parameters: narrowTo - the desired type. an object which can be cast to the desired type. throws: ClassCastException - if narrowFrom cannot be cast to narrowTo. |
|
|