|
||||||||||
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.JServiceEndpoint
public class JServiceEndpoint
Implementation of the Service Endpoint Interface. The lifeCycle of this object is managed by the JOnASEJBProvider. Although this object implements Remote, it is accessed locally today.
Field Summary | |
---|---|
protected JStatelessFactory |
bf
bean factory |
protected JSessionSwitch |
bs
switch instance to use |
protected static org.objectweb.util.monolog.api.Logger |
logger
Logger, used also in the generated part. |
Constructor Summary | |
---|---|
JServiceEndpoint(JStatelessFactory sf)
|
Method Summary | |
---|---|
void |
checkSecurity(EJBInvocation ejbInv)
Check if the access to the bean is authorized |
void |
destroy()
remove the bean instance. |
MessageContext |
getMessageContext()
Get the messageContext |
void |
init(Object arg0)
Nothing to do here. |
void |
postInvoke(RequestCtx rctx)
postInvoke is called after any request. |
RequestCtx |
preInvoke(int txa)
preInvoke is called before any request. |
void |
setMessageContext(MessageContext msgctx)
Set the MessageContext in the StatelessContext |
void |
setSessionSwitch(JSessionSwitch bs)
finish initialization |
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 static org.objectweb.util.monolog.api.Logger logger
protected JSessionSwitch bs
protected JStatelessFactory bf
Constructor Detail |
---|
public JServiceEndpoint(JStatelessFactory sf) throws RemoteException
RemoteException
Method Detail |
---|
public void setMessageContext(MessageContext msgctx)
msgctx
- Axis MessageContextpublic MessageContext getMessageContext()
mc
- JAX-RPC MessageContextpublic void setSessionSwitch(JSessionSwitch bs)
bs
- The Session Switchpublic RequestCtx preInvoke(int txa) throws RemoteException
txa
- Transaction Attribute (Supports, Required, ...)
RemoteException
- preInvoke failpublic 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
- postInvoke failpublic void init(Object arg0) throws ServiceException
init
in interface ServiceLifecycle
ServiceException
public void destroy()
destroy
in interface ServiceLifecycle
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |