|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.jonas_ejb.container.JLocal org.objectweb.jonas_ejb.container.JSessionLocal
public abstract class JSessionLocal
Generic part of the EJBLocalObject implementation
Field Summary | |
---|---|
protected JSessionFactory |
bf
|
protected JSessionSwitch |
bs
|
Constructor Summary | |
---|---|
JSessionLocal(JSessionFactory bf)
constructor |
Method Summary | |
---|---|
void |
checkSecurity(EJBInvocation ejbInv)
Check if the access to the bean is authorized |
javax.ejb.EJBLocalHome |
getEJBLocalHome()
|
java.lang.Object |
getPrimaryKey()
|
JSessionSwitch |
getSessionSwitch()
|
boolean |
isIdentical(javax.ejb.EJBLocalObject obj)
Tests if a given EJB is identical to the invoked EJB object. |
void |
postInvoke(RequestCtx rctx)
postInvoke is called after any request. |
RequestCtx |
preInvoke(int txa)
preInvoke is called before any request. |
abstract void |
remove()
|
void |
setSessionSwitch(JSessionSwitch 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 |
---|
protected JSessionFactory bf
protected JSessionSwitch bs
Constructor Detail |
---|
public JSessionLocal(JSessionFactory bf)
bf
- The Session FactoryMethod Detail |
---|
public abstract void remove() throws javax.ejb.RemoveException
javax.ejb.RemoveException
public javax.ejb.EJBLocalHome getEJBLocalHome()
public java.lang.Object getPrimaryKey() throws javax.ejb.EJBException
javax.ejb.EJBException
- Always : Session bean has no primary keypublic boolean isIdentical(javax.ejb.EJBLocalObject obj)
EJBLocalObject
- obj - An object to test for identity with the
invoked object.
EJBException:
- Thrown when the method failed due to a system-level
failure.public void setSessionSwitch(JSessionSwitch bs)
bs
- The Session Switchpublic JSessionSwitch getSessionSwitch()
public RequestCtx preInvoke(int txa)
txa
- Transaction Attribute (Supports, Required, ...)
javax.ejb.EJBException
public void checkSecurity(EJBInvocation ejbInv)
ejbInv
- object containing security signature of the method, args of
method, etcpublic void postInvoke(RequestCtx rctx)
rctx
- The RequestCtx that was returned at preInvoke()
javax.ejb.EJBException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |