public class ProtocolHandlerChainImpl extends Object implements org.apache.james.protocols.api.handler.ProtocolHandlerChain
Constructor and Description |
---|
ProtocolHandlerChainImpl(ProtocolHandlerLoader loader,
org.apache.commons.configuration.HierarchicalConfiguration handlerchainConfig,
String jmxName,
Class<? extends HandlersPackage> coreHandlersPackage,
Class<? extends HandlersPackage> jmxHandlersPackage) |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Destroy all loaded
InitializingLifecycleAwareProtocolHandler |
<T> LinkedList<T> |
getHandlers(Class<T> type) |
void |
init() |
public ProtocolHandlerChainImpl(ProtocolHandlerLoader loader, org.apache.commons.configuration.HierarchicalConfiguration handlerchainConfig, String jmxName, Class<? extends HandlersPackage> coreHandlersPackage, Class<? extends HandlersPackage> jmxHandlersPackage)
public <T> LinkedList<T> getHandlers(Class<T> type)
getHandlers
in interface org.apache.james.protocols.api.handler.ProtocolHandlerChain
public void destroy()
InitializingLifecycleAwareProtocolHandler
destroy
in interface org.apache.james.protocols.api.handler.ProtocolHandlerChain
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.