org.objectweb.jonas_ejb.container
Class JSessionLocal
java.lang.Object
|
+--org.objectweb.jonas_ejb.container.JLocal
|
+--org.objectweb.jonas_ejb.container.JSessionLocal
- All Implemented Interfaces:
- javax.ejb.EJBLocalObject
- public abstract class JSessionLocal
- extends JLocal
Generic part of the EJBLocalObject implementation
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
bf
protected JSessionFactory bf
bs
protected JSessionSwitch bs
JSessionLocal
public JSessionLocal(JSessionFactory bf)
- constructor
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()
throws javax.ejb.EJBException
- returns the Primary Key for this EJBObject
isIdentical
public boolean isIdentical(javax.ejb.EJBLocalObject obj)
- Tests if a given EJB is identical to the invoked EJB object.
This is different whether the bean is stateless or stateful.
- 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.
setSessionSwitch
public void setSessionSwitch(JSessionSwitch bs)
- finish initialization
getSessionSwitch
public JSessionSwitch getSessionSwitch()
- Return the JSessionSwitch for this Session
preInvoke
public RequestCtx preInvoke(int txa,
java.lang.String secu)
postInvoke
public void postInvoke(RequestCtx rctx)