Class HandlerLifecycleManagerImpl
java.lang.Object
org.apache.axis2.jaxws.lifecycle.BaseLifecycleManager
org.apache.axis2.jaxws.handler.lifecycle.impl.HandlerLifecycleManagerImpl
- All Implemented Interfaces:
HandlerLifecycleManager
public class HandlerLifecycleManagerImpl
extends BaseLifecycleManager
implements HandlerLifecycleManager
-
Field Summary
Fields inherited from class org.apache.axis2.jaxws.lifecycle.BaseLifecycleManager
instance -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjakarta.xml.ws.handler.HandlercreateHandlerInstance(MessageContext mc, Class handlerClass) voiddestroyHandlerInstance(MessageContext mc, jakarta.xml.ws.handler.Handler handler) destroyHandlerInstance calls the handler's annotated PreDestroy method, if it exists.Methods inherited from class org.apache.axis2.jaxws.lifecycle.BaseLifecycleManager
getPostConstructMethod, getPreDestroyMethod, invokeMethod, invokePostConstruct, invokePostConstruct, invokePreDestroy, invokePreDestroy, isPostConstruct, isPreDestroyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.axis2.jaxws.handler.lifecycle.factory.HandlerLifecycleManager
invokePostConstruct, invokePreDestroy
-
Constructor Details
-
HandlerLifecycleManagerImpl
public HandlerLifecycleManagerImpl()
-
-
Method Details
-
createHandlerInstance
public jakarta.xml.ws.handler.Handler createHandlerInstance(MessageContext mc, Class handlerClass) throws LifecycleException, ResourceInjectionException - Specified by:
createHandlerInstancein interfaceHandlerLifecycleManager- Throws:
LifecycleExceptionResourceInjectionException
-
destroyHandlerInstance
public void destroyHandlerInstance(MessageContext mc, jakarta.xml.ws.handler.Handler handler) throws LifecycleException, ResourceInjectionException destroyHandlerInstance calls the handler's annotated PreDestroy method, if it exists. A handler instance that has been passed through this method SHOULD NOT be used again- Specified by:
destroyHandlerInstancein interfaceHandlerLifecycleManager- Parameters:
handler-- Throws:
LifecycleExceptionResourceInjectionException
-