public class HandlerLifecycleManagerImpl extends BaseLifecycleManager implements HandlerLifecycleManager
instance
Constructor and Description |
---|
HandlerLifecycleManagerImpl() |
Modifier and Type | Method and Description |
---|---|
Handler |
createHandlerInstance(MessageContext mc,
Class handlerClass) |
void |
destroyHandlerInstance(MessageContext mc,
Handler handler)
destroyHandlerInstance calls the handler's annotated PreDestroy method,
if it exists.
|
getPostConstructMethod, getPreDestroyMethod, invokeMethod, invokePostConstruct, invokePostConstruct, invokePreDestroy, invokePreDestroy, isPostConstruct, isPreDestroy
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
invokePostConstruct, invokePreDestroy
public Handler createHandlerInstance(MessageContext mc, Class handlerClass) throws LifecycleException, ResourceInjectionException
createHandlerInstance
in interface HandlerLifecycleManager
LifecycleException
ResourceInjectionException
public void destroyHandlerInstance(MessageContext mc, Handler handler) throws LifecycleException, ResourceInjectionException
destroyHandlerInstance
in interface HandlerLifecycleManager
handler
- LifecycleException
ResourceInjectionException
Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.