|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.rmi.PortableRemoteObject
org.objectweb.jonas_ejb.container.JRemote
org.objectweb.jonas_ejb.container.JSessionRemote
Generic part of the EJBObject implementation
| Field Summary | |
protected JSessionSwitch |
bs
bs |
| Fields inherited from class org.objectweb.jonas_ejb.container.JRemote |
bf |
| Constructor Summary | |
JSessionRemote(JSessionFactory bf)
constructor |
|
| Method Summary | |
void |
checkSecurity(EJBInvocation ejbInv)
Check if the access to the bean is authorized |
javax.ejb.EJBHome |
getEJBHome()
|
javax.ejb.Handle |
getHandle()
Obtains a handle for the EJB object. |
java.lang.Object |
getPrimaryKey()
|
JSessionSwitch |
getSessionSwitch()
|
boolean |
isIdentical(javax.ejb.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.objectweb.jonas_ejb.container.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 java.rmi.RemoteException
bf - The Session Factory
java.rmi.RemoteException - Thrown when the method failed due to a system-level failure.| Method Detail |
public abstract void remove()
throws java.rmi.RemoteException,
javax.ejb.RemoveException
remove in interface javax.ejb.EJBObjectjava.rmi.RemoteException - Thrown when the method failed due to a system-level failure.
javax.ejb.RemoveException - Thrown when the method failed due to remove failure.public javax.ejb.EJBHome getEJBHome()
getEJBHome in interface javax.ejb.EJBObject
public java.lang.Object getPrimaryKey()
throws java.rmi.RemoteException
getPrimaryKey in interface javax.ejb.EJBObjectjava.rmi.RemoteException - Always : Session bean has never a primary key
public boolean isIdentical(javax.ejb.EJBObject obj)
throws java.rmi.RemoteException
isIdentical in interface javax.ejb.EJBObjectobj - - An object to test for identity with the invoked object.
java.rmi.RemoteException - Thrown when the method failed due to a system-level failure.
public javax.ejb.Handle getHandle()
throws java.rmi.RemoteException
getHandle in interface javax.ejb.EJBObjectjava.rmi.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 java.rmi.RemoteException
txa - Transaction Attribute (Supports, Required, ...)
java.rmi.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, etc
public void postInvoke(RequestCtx rctx)
throws java.rmi.RemoteException
rctx - The RequestCtx that was returned at preInvoke()
java.rmi.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 | |||||||||