public abstract class AbstractProtocolHandlerChain extends Object implements ProtocolHandlerChain
ProtocolHandlerChain implementations| Constructor and Description |
|---|
AbstractProtocolHandlerChain() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Destroy the
ProtocolHandlerChain. |
protected abstract List<ProtocolHandler> |
getHandlers()
Return an immutable List of all Handlers
|
<T> LinkedList<T> |
getHandlers(Class<T> type)
Returns a list of handler of the requested type.
|
void |
wireExtensibleHandlers()
ExtensibleHandler wiring.
|
protected abstract List<ProtocolHandler> getHandlers()
public <T> LinkedList<T> getHandlers(Class<T> type)
ProtocolHandlerChaingetHandlers in interface ProtocolHandlerChaintype - the type of handler we're interested inProtocolHandlerChain.getHandlers(java.lang.Class)public void wireExtensibleHandlers()
throws WiringException
WiringExceptionpublic void destroy()
ProtocolHandlerChainProtocolHandlerChain. After this call it will not be usable anymoredestroy in interface ProtocolHandlerChainCopyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.