|
|||||||||
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.JEntityLocal
public abstract class JEntityLocal
Generic part of the EJBLocalObject implementation
Field Summary | |
---|---|
protected JEntityFactory |
bf
|
protected JEntitySwitch |
bs
|
Constructor Summary | |
---|---|
JEntityLocal(JEntityFactory 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()
|
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()
Remove this instance. |
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 |
---|
protected JEntityFactory bf
protected JEntitySwitch bs
Constructor Detail |
---|
public JEntityLocal(JEntityFactory bf)
bf
- The Entity FactoryMethod Detail |
---|
public void setEntitySwitch(JEntitySwitch bs)
bs
- The Entity Bean Switchpublic abstract void remove() throws javax.ejb.RemoveException
javax.ejb.RemoveException
- Instance could not be removed.public javax.ejb.EJBLocalHome getEJBLocalHome()
public java.lang.Object getPrimaryKey()
public boolean isIdentical(javax.ejb.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 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 |