org.objectweb.jonas_ejb.container.JEntityRemote Class Reference

Inherits org.objectweb.jonas_ejb.container.JRemote.

Inheritance diagram for org.objectweb.jonas_ejb.container.JEntityRemote:

Inheritance graph
[legend]
Collaboration diagram for org.objectweb.jonas_ejb.container.JEntityRemote:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 JEntityRemote (JEntityFactory bf) throws RemoteException
void setEntitySwitch (JEntitySwitch bs)
EJBHome getEJBHome ()
Object getPrimaryKey ()
boolean isIdentical (EJBObject obj) throws RemoteException
RequestCtx preInvoke (int txa) throws RemoteException
void checkSecurity (EJBInvocation ejbInv)
void postInvoke (RequestCtx rctx) throws RemoteException

Detailed Description

Generic part of the EJBObject implementation
Author:
Philippe Coq

Philippe Durieux

Definition at line 46 of file JEntityRemote.java.


Constructor & Destructor Documentation

org.objectweb.jonas_ejb.container.JEntityRemote.JEntityRemote JEntityFactory  bf  )  throws RemoteException
 

constructor

Parameters:
bf The Entity Factory

Definition at line 56 of file JEntityRemote.java.


Member Function Documentation

void org.objectweb.jonas_ejb.container.JEntityRemote.checkSecurity EJBInvocation  ejbInv  ) 
 

Check if the access to the bean is authorized

Parameters:
ejbInv object containing security signature of the method, args of method, etc

Definition at line 189 of file JEntityRemote.java.

References org.objectweb.jonas_ejb.container.JFactory.checkSecurity().

Here is the call graph for this function:

EJBHome org.objectweb.jonas_ejb.container.JEntityRemote.getEJBHome  ) 
 

Returns:
the enterprise Bean's home interface.

Definition at line 79 of file JEntityRemote.java.

References org.objectweb.jonas_ejb.container.JEntityFactory.getHome().

Referenced by org.objectweb.jonas_ejb.container.JEntityRemote.isIdentical(), and org.objectweb.jonas_ejb.container.JEntityHandle.JEntityHandle().

Here is the call graph for this function:

Object org.objectweb.jonas_ejb.container.JEntityRemote.getPrimaryKey  ) 
 

Returns:
the Primary Key for this EJBObject
Exceptions:
EJBException Bean has no primary key yet.

Definition at line 108 of file JEntityRemote.java.

References org.objectweb.jonas_ejb.container.JEntitySwitch.getPrimaryKey().

Referenced by org.objectweb.jonas_ejb.container.JEntityRemote.isIdentical().

Here is the call graph for this function:

boolean org.objectweb.jonas_ejb.container.JEntityRemote.isIdentical EJBObject  obj  )  throws RemoteException
 

Tests if a given EJB is identical to the invoked EJB object.

Parameters:
obj - An object to test for identity with the invoked object.
Returns:
True if the given EJB object is identical to the invoked object.
Exceptions:
RemoteException Thrown when the method failed due to a system-level failure.

Definition at line 142 of file JEntityRemote.java.

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

Here is the call graph for this function:

void org.objectweb.jonas_ejb.container.JEntityRemote.postInvoke RequestCtx  rctx  )  throws RemoteException
 

postInvoke is called after any request.

Parameters:
rctx The RequestCtx that was returned at preInvoke()
Exceptions:
RemoteException 

Definition at line 199 of file JEntityRemote.java.

References org.objectweb.jonas_ejb.container.JEntitySwitch.discardICtx(), org.objectweb.jonas_ejb.container.JFactory.postInvokeRemote(), and org.objectweb.jonas_ejb.container.JEntitySwitch.releaseICtx().

Here is the call graph for this function:

RequestCtx org.objectweb.jonas_ejb.container.JEntityRemote.preInvoke int  txa  )  throws RemoteException
 

preInvoke is called before any request.

Parameters:
txa Transaction Attribute (Supports, Required, ...)
Returns:
A RequestCtx object
Exceptions:
RemoteException 

Definition at line 179 of file JEntityRemote.java.

References org.objectweb.jonas_ejb.container.JFactory.preInvokeRemote().

Here is the call graph for this function:

void org.objectweb.jonas_ejb.container.JEntityRemote.setEntitySwitch JEntitySwitch  bs  ) 
 

finish initialization

Parameters:
bs The Entity Bean Switch

Definition at line 66 of file JEntityRemote.java.

Referenced by org.objectweb.jonas_ejb.container.JEntitySwitch.init().


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