org.objectweb.jonas_lib.naming.JacORBPRODelegate Class Reference

List of all members.

Public Member Functions

void exportObject (Remote obj) throws RemoteException
Object narrow (Object narrowFrom, Class narrowTo) throws ClassCastException

Detailed Description

Use EJB context classloader when possible
Author:
Florent Benoit

Definition at line 45 of file JacORBPRODelegate.java.


Member Function Documentation

void org.objectweb.jonas_lib.naming.JacORBPRODelegate.exportObject Remote  obj  )  throws RemoteException
 

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.
Exceptions:
RemoteException if export fails.

Definition at line 55 of file JacORBPRODelegate.java.

Object org.objectweb.jonas_lib.naming.JacORBPRODelegate.narrow Object  narrowFrom,
Class  narrowTo
throws ClassCastException
 

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.
narrowTo the desired type.
Returns:
an object which can be cast to the desired type.
Exceptions:
ClassCastException if narrowFrom cannot be cast to narrowTo.

Definition at line 96 of file JacORBPRODelegate.java.

References org.objectweb.jonas_ejb.container.JRemote.getBf(), and org.objectweb.jonas_ejb.container.JHome.getBf().

Here is the call graph for this function:


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:13:09 2005 for JOnAS by  doxygen 1.3.9.1