org.apache.axis2.jaxws.handler.lifecycle.impl
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HandlerLifecycleManagerImpl
public HandlerLifecycleManagerImpl()
createHandlerInstance
public Handler createHandlerInstance(MessageContext mc,
Class handlerClass)
throws LifecycleException,
ResourceInjectionException
- Specified by:
createHandlerInstance
in interface HandlerLifecycleManager
- Throws:
LifecycleException
ResourceInjectionException
destroyHandlerInstance
public void destroyHandlerInstance(MessageContext mc,
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:
destroyHandlerInstance
in interface HandlerLifecycleManager
- Parameters:
handler
-
- Throws:
LifecycleException
ResourceInjectionException
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.