public class EndpointLifecycleManagerImpl extends BaseLifecycleManager implements EndpointLifecycleManager
| Modifier and Type | Field and Description |
|---|---|
static String |
WEBSERVICE_MESSAGE_CONTEXT |
instance| Constructor and Description |
|---|
EndpointLifecycleManagerImpl() |
EndpointLifecycleManagerImpl(Object endpointInstance) |
| Modifier and Type | Method and Description |
|---|---|
Object |
createServiceInstance(MessageContext mc,
Class serviceImplClass)
EndpointLifecycleManager will create a service instance.
|
protected javax.xml.ws.handler.MessageContext |
createSOAPMessageContext(MessageContext mc) |
protected javax.xml.ws.WebServiceContext |
createWebServiceContext(MessageContext mc)
This method will be responsible for creating an instance of a WebServiceContext
and initializing the instance with a MessageContext.
|
protected ResourceInjectionServiceRuntimeDescription |
getInjectionDesc(ServiceDescription serviceDesc,
Class serviceImplClass)
This method will retrieve a ResourceInjectionServiceRuntimeDescription if one
is associated with the current ServiceDescription.
|
protected boolean |
hasResourceAnnotation(ResourceInjectionServiceRuntimeDescription injectionDesc)
This method indicates whether or not we need to perform WebServiceContext injection
on a field within our endpoint instance.
|
protected void |
injectWebServiceContext(MessageContext mc,
javax.xml.ws.WebServiceContext wsContext,
Object serviceInstance) |
protected void |
performWebServiceContextInjection(MessageContext mc,
Object serviceImpl)
This method will provide the necessary function in order to inject
a WebServiceContext instance on a member of the service implementation class.
|
protected void |
performWebServiceContextUpdate(MessageContext mc)
This method will provide the necessary function in order to update
an existing WebServiceContext instance with a MessageContext for
the current request.
|
protected Object |
retrieveServiceInstance(MessageContext mc)
This method locates an existing service implementation instance if
one has been previously stored away.
|
protected void |
saveWebServiceContext(MessageContext mc,
javax.xml.ws.WebServiceContext wsContext)
This method will provide the function necessary to save the WebServiceContext
associated with the endpoint.
|
protected void |
updateWebServiceContext(javax.xml.ws.WebServiceContext wsContext,
javax.xml.ws.handler.MessageContext soapMessageContext) |
getPostConstructMethod, getPreDestroyMethod, invokeMethod, invokePostConstruct, invokePostConstruct, invokePreDestroy, invokePreDestroy, isPostConstruct, isPreDestroyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinvokePostConstruct, invokePreDestroypublic static final String WEBSERVICE_MESSAGE_CONTEXT
public EndpointLifecycleManagerImpl(Object endpointInstance)
public EndpointLifecycleManagerImpl()
public Object createServiceInstance(MessageContext mc, Class serviceImplClass) throws LifecycleException, ResourceInjectionException
EndpointLifecycleManagercreateServiceInstance in interface EndpointLifecycleManagerLifecycleExceptionResourceInjectionExceptionprotected Object retrieveServiceInstance(MessageContext mc)
protected void performWebServiceContextInjection(MessageContext mc, Object serviceImpl) throws ResourceInjectionException
ResourceInjectionExceptionprotected void performWebServiceContextUpdate(MessageContext mc) throws ResourceInjectionException
ResourceInjectionExceptionprotected void saveWebServiceContext(MessageContext mc, javax.xml.ws.WebServiceContext wsContext)
protected javax.xml.ws.WebServiceContext createWebServiceContext(MessageContext mc)
protected ResourceInjectionServiceRuntimeDescription getInjectionDesc(ServiceDescription serviceDesc, Class serviceImplClass)
protected boolean hasResourceAnnotation(ResourceInjectionServiceRuntimeDescription injectionDesc)
protected javax.xml.ws.handler.MessageContext createSOAPMessageContext(MessageContext mc)
protected void injectWebServiceContext(MessageContext mc, javax.xml.ws.WebServiceContext wsContext, Object serviceInstance) throws ResourceInjectionException
ResourceInjectionExceptionprotected void updateWebServiceContext(javax.xml.ws.WebServiceContext wsContext, javax.xml.ws.handler.MessageContext soapMessageContext) throws ResourceInjectionException
ResourceInjectionExceptionCopyright © 2004–2015 The Apache Software Foundation. All rights reserved.