org.objectweb.jonas_ejb.container.JEntityLocal Class Reference

Inherits org.objectweb.jonas_ejb.container.JLocal.

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

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 JEntityLocal (JEntityFactory bf)
void setEntitySwitch (JEntitySwitch bs)
abstract void remove () throws RemoveException
EJBLocalHome getEJBLocalHome ()
Object getPrimaryKey ()
boolean isIdentical (EJBLocalObject obj)
RequestCtx preInvoke (int txa)
void checkSecurity (EJBInvocation ejbInv)
void postInvoke (RequestCtx rctx)

Detailed Description

Generic part of the EJBLocalObject implementation
Author:
Philippe Durieux

Definition at line 41 of file JEntityLocal.java.


Constructor & Destructor Documentation

org.objectweb.jonas_ejb.container.JEntityLocal.JEntityLocal JEntityFactory  bf  ) 
 

constructor

Parameters:
bf The Entity Factory

Definition at line 51 of file JEntityLocal.java.


Member Function Documentation

void org.objectweb.jonas_ejb.container.JEntityLocal.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 133 of file JEntityLocal.java.

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

Here is the call graph for this function:

EJBLocalHome org.objectweb.jonas_ejb.container.JEntityLocal.getEJBLocalHome  ) 
 

Returns:
the enterprise Bean's local home interface.

Definition at line 80 of file JEntityLocal.java.

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

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

Here is the call graph for this function:

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

Returns:
the Primary Key for this EJBLocalObject

Definition at line 88 of file JEntityLocal.java.

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

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

Here is the call graph for this function:

boolean org.objectweb.jonas_ejb.container.JEntityLocal.isIdentical EJBLocalObject  obj  ) 
 

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:
EJBException: Thrown when the method failed due to a system-level failure.

Definition at line 103 of file JEntityLocal.java.

References org.objectweb.jonas_ejb.container.JEntityLocal.getEJBLocalHome(), and org.objectweb.jonas_ejb.container.JEntityLocal.getPrimaryKey().

Here is the call graph for this function:

void org.objectweb.jonas_ejb.container.JEntityLocal.postInvoke RequestCtx  rctx  ) 
 

postInvoke is called after any request.

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

Definition at line 143 of file JEntityLocal.java.

References org.objectweb.jonas_ejb.container.RequestCtx.currTx, org.objectweb.jonas_ejb.container.JEntitySwitch.discardICtx(), org.objectweb.jonas_ejb.container.JFactory.postInvoke(), org.objectweb.jonas_ejb.container.JEntitySwitch.releaseICtx(), and org.objectweb.jonas_ejb.container.RequestCtx.sysExc.

Here is the call graph for this function:

RequestCtx org.objectweb.jonas_ejb.container.JEntityLocal.preInvoke int  txa  ) 
 

preInvoke is called before any request.

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

Definition at line 123 of file JEntityLocal.java.

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

Here is the call graph for this function:

abstract void org.objectweb.jonas_ejb.container.JEntityLocal.remove  )  throws RemoveException [pure virtual]
 

Remove this instance.

Exceptions:
RemoveException Instance could not be removed.

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

finish initialization

Parameters:
bs The Entity Bean Switch

Definition at line 61 of file JEntityLocal.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:11 2005 for JOnAS by  doxygen 1.3.9.1