|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.rmi.PortableRemoteObject org.ow2.jonas.lib.ejb21.JRemote org.ow2.jonas.lib.ejb21.JSessionRemote
public abstract class JSessionRemote
Generic part of the EJBObject implementation
Field Summary | |
---|---|
protected JSessionSwitch |
bs
bs |
Fields inherited from class org.ow2.jonas.lib.ejb21.JRemote |
---|
bf |
Constructor Summary | |
---|---|
JSessionRemote(JSessionFactory bf)
constructor |
Method Summary | |
---|---|
void |
checkSecurity(EJBInvocation ejbInv)
Check if the access to the bean is authorized |
EJBHome |
getEJBHome()
|
Handle |
getHandle()
Obtains a handle for the EJB object. |
Object |
getPrimaryKey()
|
JSessionSwitch |
getSessionSwitch()
|
boolean |
isIdentical(EJBObject 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 is implemented in the generated part. |
void |
setSessionSwitch(JSessionSwitch bs)
finish initialization |
Methods inherited from class org.ow2.jonas.lib.ejb21.JRemote |
---|
exportObject, getBf, unexportObject |
Methods inherited from class javax.rmi.PortableRemoteObject |
---|
connect, exportObject, narrow, toStub, unexportObject |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected JSessionSwitch bs
bs
Constructor Detail |
---|
public JSessionRemote(JSessionFactory bf) throws RemoteException
bf
- The Session Factory
RemoteException
- Thrown when the method failed due to a system-level failure.Method Detail |
---|
public abstract void remove() throws RemoteException, RemoveException
remove
in interface EJBObject
RemoteException
- Thrown when the method failed due to a system-level failure.
RemoveException
- Thrown when the method failed due to remove failure.public EJBHome getEJBHome()
getEJBHome
in interface EJBObject
public Object getPrimaryKey() throws RemoteException
getPrimaryKey
in interface EJBObject
RemoteException
- Always : Session bean has never a primary keypublic boolean isIdentical(EJBObject obj) throws RemoteException
isIdentical
in interface EJBObject
obj
- - An object to test for identity with the invoked object.
RemoteException
- Thrown when the method failed due to a system-level failure.public Handle getHandle() throws RemoteException
getHandle
in interface EJBObject
RemoteException
- Thrown when the method failed due to a
system-level failure.public void setSessionSwitch(JSessionSwitch bs)
bs
- the SessionSwitchpublic JSessionSwitch getSessionSwitch()
public RequestCtx preInvoke(int txa) throws RemoteException
txa
- Transaction Attribute (Supports, Required, ...)
RemoteException
- Thrown when the method failed due to a
system-level failure.public void checkSecurity(EJBInvocation ejbInv)
ejbInv
- object containing security signature of the method, args of
method, etcpublic void postInvoke(RequestCtx rctx) throws RemoteException
rctx
- The RequestCtx that was returned at preInvoke()
RemoteException
- Thrown when the method failed due to a
system-level failure.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |