Package org.glassfish.webservices
Class EjbRuntimeEndpointInfo
- java.lang.Object
-
- org.glassfish.webservices.EjbRuntimeEndpointInfo
-
public class EjbRuntimeEndpointInfo extends Object
Runtime dispatch information about one ejb web service endpoint. This class must support concurrent access, since a single instance will be used for all web service invocations through the same ejb endpoint.NOT THREAD SAFE
- Author:
- Jerome Dochez
-
-
Field Summary
Fields Modifier and Type Field Description protected EjbEndpointFacade
container
protected WebServiceEndpoint
endpoint
protected EjbMessageDispatcher
messageDispatcher
protected Object
webServiceEndpointServant
-
Constructor Summary
Constructors Constructor Description EjbRuntimeEndpointInfo(WebServiceEndpoint webServiceEndpoint, EjbEndpointFacade ejbContainer, Object servant)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EjbEndpointFacade
getContainer()
WebServiceEndpoint
getEndpoint()
String
getEndpointAddressUri()
InvocationManager
getInvocationManager()
EjbMessageDispatcher
getMessageDispatcher()
jakarta.xml.ws.WebServiceContext
getWebServiceContext()
void
initRuntimeInfo(com.sun.xml.ws.transport.http.servlet.ServletAdapterList list)
Force initialization of the endpoint runtime information as well as the handlers injectionObject
prepareInvocation(boolean doPreInvoke)
void
releaseImplementor(ComponentInvocation inv)
Called after attempt to handle message.
-
-
-
Field Detail
-
endpoint
protected final WebServiceEndpoint endpoint
-
container
protected final EjbEndpointFacade container
-
webServiceEndpointServant
protected final Object webServiceEndpointServant
-
messageDispatcher
protected EjbMessageDispatcher messageDispatcher
-
-
Constructor Detail
-
EjbRuntimeEndpointInfo
public EjbRuntimeEndpointInfo(WebServiceEndpoint webServiceEndpoint, EjbEndpointFacade ejbContainer, Object servant)
-
-
Method Detail
-
getEndpoint
public WebServiceEndpoint getEndpoint()
-
getEndpointAddressUri
public String getEndpointAddressUri()
-
getWebServiceContext
public jakarta.xml.ws.WebServiceContext getWebServiceContext()
-
prepareInvocation
public Object prepareInvocation(boolean doPreInvoke) throws Exception
- Throws:
Exception
-
initRuntimeInfo
public void initRuntimeInfo(com.sun.xml.ws.transport.http.servlet.ServletAdapterList list) throws Exception
Force initialization of the endpoint runtime information as well as the handlers injection- Throws:
Exception
-
getInvocationManager
public InvocationManager getInvocationManager()
-
releaseImplementor
public void releaseImplementor(ComponentInvocation inv)
Called after attempt to handle message. This is coded defensively so we attempt to clean up no matter how much progress we made in getImplementor. One important thing is to complete the invocation manager preInvoke().
-
getMessageDispatcher
public EjbMessageDispatcher getMessageDispatcher()
-
getContainer
public EjbEndpointFacade getContainer()
-
-