|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.jonas.lib.ejb21.JLocal org.ow2.jonas.lib.ejb21.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 |
EJBLocalHome |
getEJBLocalHome()
|
Object |
getPrimaryKey()
|
JSessionSwitch |
getSessionSwitch()
|
boolean |
isIdentical(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.ow2.jonas.lib.ejb21.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 RemoveException
RemoveException
public EJBLocalHome getEJBLocalHome()
public Object getPrimaryKey() throws EJBException
EJBException
- Always : Session bean has no primary keypublic boolean isIdentical(EJBLocalObject obj)
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, ...)
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()
EJBException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |