org.objectweb.jonas_ejb.container.JEntityHandle Class Reference

List of all members.

Public Member Functions

 JEntityHandle (JEntityRemote remote)
abstract EJBObject getEJBObject () throws RemoteException
java.lang.Object getPK ()

Protected Attributes

HomeHandle homehandle = null
Serializable pk = null

Detailed Description

This class implements javax.ejb.Handle interface. For a Entity Bean a Handle is a serializable class that contains the HomeHandle and the primary key
Author:
Philippe Coq

Definition at line 42 of file JEntityHandle.java.


Constructor & Destructor Documentation

org.objectweb.jonas_ejb.container.JEntityHandle.JEntityHandle JEntityRemote  remote  ) 
 

constructor

Parameters:
remote The Remote object

Definition at line 58 of file JEntityHandle.java.

References org.objectweb.jonas_ejb.container.JEntityRemote.getEJBHome(), and org.objectweb.jonas_ejb.container.JEntityHandle.homehandle.

Here is the call graph for this function:


Member Function Documentation

abstract EJBObject org.objectweb.jonas_ejb.container.JEntityHandle.getEJBObject  )  throws RemoteException [pure virtual]
 

Obtains the EJB object represented by this handle.

Returns:
The EJB object
Exceptions:
RemoteException The EJB object could not be obtained because of a system-level failure.

java.lang.Object org.objectweb.jonas_ejb.container.JEntityHandle.getPK  ) 
 

Returns:
the Primary Key embedded in the Handle

Definition at line 77 of file JEntityHandle.java.


Member Data Documentation

HomeHandle org.objectweb.jonas_ejb.container.JEntityHandle.homehandle = null [protected]
 

Definition at line 47 of file JEntityHandle.java.

Referenced by org.objectweb.jonas_ejb.container.JEntityHandle.JEntityHandle().

Serializable org.objectweb.jonas_ejb.container.JEntityHandle.pk = null [protected]
 

Definition at line 52 of file JEntityHandle.java.


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