org.objectweb.jonas_ejb.container
Class JEntityLocal

java.lang.Object
  |
  +--org.objectweb.jonas_ejb.container.JLocal
        |
        +--org.objectweb.jonas_ejb.container.JEntityLocal
All Implemented Interfaces:
javax.ejb.EJBLocalObject

public abstract class JEntityLocal
extends JLocal

Generic part of the EJBLocalObject implementation


Field Summary
protected  JEntityFactory bf
           
protected  JEntitySwitch bs
           
 
Constructor Summary
JEntityLocal(JEntityFactory bf)
          constructor
 
Method Summary
 javax.ejb.EJBLocalHome getEJBLocalHome()
          Returns the enterprise Bean's local home interface.
 java.lang.Object getPrimaryKey()
          returns the Primary Key for this EJBLocalObject
 boolean isIdentical(javax.ejb.EJBLocalObject obj)
          Tests if a given EJB is identical to the invoked EJB object.
 void postInvoke(RequestCtx rctx)
           
 RequestCtx preInvoke(int txa, java.lang.String secu)
           
abstract  void remove()
           
 void setEntitySwitch(JEntitySwitch bs)
          finish initialization
 
Methods inherited from class org.objectweb.jonas_ejb.container.JLocal
exportObject, unexportObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bf

protected JEntityFactory bf

bs

protected JEntitySwitch bs
Constructor Detail

JEntityLocal

public JEntityLocal(JEntityFactory bf)
constructor
Method Detail

setEntitySwitch

public void setEntitySwitch(JEntitySwitch bs)
finish initialization

remove

public abstract void remove()
                     throws javax.ejb.RemoveException

getEJBLocalHome

public javax.ejb.EJBLocalHome getEJBLocalHome()
Returns the enterprise Bean's local home interface.

getPrimaryKey

public java.lang.Object getPrimaryKey()
returns the Primary Key for this EJBLocalObject

isIdentical

public boolean isIdentical(javax.ejb.EJBLocalObject obj)
Tests if a given EJB is identical to the invoked EJB object.
Parameters:
EJBLocalObject - obj - An object to test for identity with the invoked object.
Returns:
True if the given EJB object is identical to the invoked object.
Throws:
EJBException: - Thrown when the method failed due to a system-level failure.

preInvoke

public RequestCtx preInvoke(int txa,
                            java.lang.String secu)

postInvoke

public void postInvoke(RequestCtx rctx)