|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jonas.lib.ejb21.JLocal
org.ow2.jonas.lib.ejb21.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 |
EJBLocalHome |
getEJBLocalHome()
|
abstract JWrapper |
getJWrapper()
Get the JWrapper for serialization |
Object |
getPrimaryKey()
|
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()
Remove this instance. |
void |
setEntitySwitch(JEntitySwitch 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 JEntityFactory bf
protected JEntitySwitch bs
| Constructor Detail |
|---|
public JEntityLocal(JEntityFactory bf)
bf - The Entity Factory| Method Detail |
|---|
public void setEntitySwitch(JEntitySwitch bs)
bs - The Entity Bean Switch
public abstract void remove()
throws RemoveException
RemoveException - Instance could not be removed.public EJBLocalHome getEJBLocalHome()
public Object getPrimaryKey()
public 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 RequestCtx preInvoke(int txa)
txa - Transaction Attribute (Supports, Required, ...)
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()public abstract JWrapper getJWrapper()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||