|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.rmi.PortableRemoteObject org.objectweb.jonas_ejb.container.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. |
javax.xml.rpc.handler.MessageContext |
getMessageContext()
Get the messageContext |
void |
init(java.lang.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(javax.xml.rpc.handler.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 java.rmi.RemoteException
java.rmi.RemoteException
Method Detail |
public void setMessageContext(javax.xml.rpc.handler.MessageContext msgctx)
msgctx
- Axis MessageContextpublic javax.xml.rpc.handler.MessageContext getMessageContext()
public void setSessionSwitch(JSessionSwitch bs)
bs
- The Session Switchpublic 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 init(java.lang.Object arg0) throws javax.xml.rpc.ServiceException
init
in interface javax.xml.rpc.server.ServiceLifecycle
javax.xml.rpc.ServiceException
public void destroy()
destroy
in interface javax.xml.rpc.server.ServiceLifecycle
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |