org.glassfish.webservices
Class EjbRuntimeEndpointInfo

java.lang.Object
  extended by org.glassfish.webservices.EjbRuntimeEndpointInfo
Direct Known Subclasses:
Ejb2RuntimeEndpointInfo

public class EjbRuntimeEndpointInfo
extends java.lang.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
protected  EjbEndpointFacade container
           
protected  WebServiceEndpoint endpoint
           
protected  java.util.logging.Logger logger
           
protected  EjbMessageDispatcher messageDispatcher
           
protected  java.lang.Object webServiceEndpointServant
           
 
Constructor Summary
EjbRuntimeEndpointInfo(WebServiceEndpoint webServiceEndpoint, EjbEndpointFacade ejbContainer, java.lang.Object servant)
           
 
Method Summary
 EjbEndpointFacade getContainer()
           
 WebServiceEndpoint getEndpoint()
           
 java.lang.String getEndpointAddressUri()
           
 InvocationManager getInvocationManager()
           
 EjbMessageDispatcher getMessageDispatcher()
           
 javax.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 injection
 java.lang.Object prepareInvocation(boolean doPreInvoke)
           
 void releaseImplementor(ComponentInvocation inv)
          Called after attempt to handle message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected java.util.logging.Logger logger

endpoint

protected final WebServiceEndpoint endpoint

container

protected final EjbEndpointFacade container

webServiceEndpointServant

protected final java.lang.Object webServiceEndpointServant

messageDispatcher

protected EjbMessageDispatcher messageDispatcher
Constructor Detail

EjbRuntimeEndpointInfo

public EjbRuntimeEndpointInfo(WebServiceEndpoint webServiceEndpoint,
                              EjbEndpointFacade ejbContainer,
                              java.lang.Object servant)
Method Detail

getEndpoint

public WebServiceEndpoint getEndpoint()

getEndpointAddressUri

public java.lang.String getEndpointAddressUri()

getWebServiceContext

public javax.xml.ws.WebServiceContext getWebServiceContext()

prepareInvocation

public java.lang.Object prepareInvocation(boolean doPreInvoke)
                                   throws java.lang.Exception
Throws:
java.lang.Exception

initRuntimeInfo

public void initRuntimeInfo(com.sun.xml.ws.transport.http.servlet.ServletAdapterList list)
                     throws java.lang.Exception
Force initialization of the endpoint runtime information as well as the handlers injection

Throws:
java.lang.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()


Copyright © 2012 GlassFish Community. All Rights Reserved.