|
||||||||||
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.JServiceEndpoint
Field Summary | |
protected JStatelessFactory |
bf
bean factory |
protected JSessionSwitch |
bs
switch instance to use |
protected SessionStatelessDesc |
dd
deployment descriptor |
protected boolean |
unregistered
registered flag |
Constructor Summary | |
JServiceEndpoint(SessionStatelessDesc sd,
JStatelessFactory sf)
|
Method Summary | |
void |
_create()
create method |
void |
checkSecurity(EJBInvocation ejbInv)
Check if the access to the bean is authorized |
void |
postInvoke(RequestCtx rctx)
postInvoke is called after any request. |
RequestCtx |
preInvoke(int txa)
preInvoke is called before any request. |
protected void |
register()
register this bean to JNDI (rebind) |
protected void |
unregister()
unregister this bean in JNDI (unbind) |
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
protected SessionStatelessDesc dd
protected JStatelessFactory bf
protected boolean unregistered
Constructor Detail |
public JServiceEndpoint(SessionStatelessDesc sd, JStatelessFactory sf) throws java.rmi.RemoteException
java.rmi.RemoteException
Method Detail |
protected void register() throws javax.naming.NamingException
javax.naming.NamingException
protected void unregister() throws javax.naming.NamingException
javax.naming.NamingException
public RequestCtx preInvoke(int txa) throws java.rmi.RemoteException
txa
- Transaction Attribute (Supports, Required, ...)
java.rmi.RemoteException
- preInvoke failpublic void checkSecurity(EJBInvocation ejbInv)
ejbInv
- object containing security signature of the method, args of
method, etcpublic void postInvoke(RequestCtx rctx) throws java.rmi.RemoteException
rctx
- The RequestCtx that was returned at preInvoke()
java.rmi.RemoteException
- postInvoke failpublic void _create() throws java.rmi.RemoteException
java.rmi.RemoteException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |