|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.axis2.jaxws.lifecycle.BaseLifecycleManager org.apache.axis2.jaxws.server.endpoint.lifecycle.impl.EndpointLifecycleManagerImpl
public class EndpointLifecycleManagerImpl
Field Summary | |
---|---|
static java.lang.String |
WEBSERVICE_MESSAGE_CONTEXT
|
Fields inherited from class org.apache.axis2.jaxws.lifecycle.BaseLifecycleManager |
---|
instance |
Constructor Summary | |
---|---|
EndpointLifecycleManagerImpl()
|
|
EndpointLifecycleManagerImpl(java.lang.Object endpointInstance)
|
Method Summary | |
---|---|
java.lang.Object |
createServiceInstance(MessageContext mc,
java.lang.Class serviceImplClass)
EndpointLifecycleManager will create a service instance. |
protected MessageContext |
createSOAPMessageContext(MessageContext mc)
|
protected 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,
java.lang.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,
WebServiceContext wsContext,
java.lang.Object serviceInstance)
|
protected void |
performWebServiceContextInjection(MessageContext mc,
java.lang.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 java.lang.Object |
retrieveServiceInstance(MessageContext mc)
This method locates an existing service implementation instance if one has been previously stored away. |
protected void |
saveWebServiceContext(MessageContext mc,
WebServiceContext wsContext)
This method will provide the function necessary to save the WebServiceContext associated with the endpoint. |
protected void |
updateWebServiceContext(WebServiceContext wsContext,
MessageContext soapMessageContext)
|
Methods inherited from class org.apache.axis2.jaxws.lifecycle.BaseLifecycleManager |
---|
getPostConstructMethod, getPreDestroyMethod, invokeMethod, invokePostConstruct, invokePostConstruct, invokePreDestroy, invokePreDestroy, isPostConstruct, isPreDestroy |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.axis2.jaxws.server.endpoint.lifecycle.EndpointLifecycleManager |
---|
invokePostConstruct, invokePreDestroy |
Field Detail |
---|
public static final java.lang.String WEBSERVICE_MESSAGE_CONTEXT
Constructor Detail |
---|
public EndpointLifecycleManagerImpl(java.lang.Object endpointInstance)
public EndpointLifecycleManagerImpl()
Method Detail |
---|
public java.lang.Object createServiceInstance(MessageContext mc, java.lang.Class serviceImplClass) throws LifecycleException, ResourceInjectionException
EndpointLifecycleManager
createServiceInstance
in interface EndpointLifecycleManager
LifecycleException
ResourceInjectionException
protected java.lang.Object retrieveServiceInstance(MessageContext mc)
protected void performWebServiceContextInjection(MessageContext mc, java.lang.Object serviceImpl) throws ResourceInjectionException
ResourceInjectionException
protected void performWebServiceContextUpdate(MessageContext mc) throws ResourceInjectionException
ResourceInjectionException
protected void saveWebServiceContext(MessageContext mc, WebServiceContext wsContext)
protected WebServiceContext createWebServiceContext(MessageContext mc)
protected ResourceInjectionServiceRuntimeDescription getInjectionDesc(ServiceDescription serviceDesc, java.lang.Class serviceImplClass)
protected boolean hasResourceAnnotation(ResourceInjectionServiceRuntimeDescription injectionDesc)
protected MessageContext createSOAPMessageContext(MessageContext mc)
protected void injectWebServiceContext(MessageContext mc, WebServiceContext wsContext, java.lang.Object serviceInstance) throws ResourceInjectionException
ResourceInjectionException
protected void updateWebServiceContext(WebServiceContext wsContext, MessageContext soapMessageContext) throws ResourceInjectionException
ResourceInjectionException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |