public abstract class AbstractProtocolHandlerChain extends Object implements ProtocolHandlerChain
ProtocolHandlerChain
implementationsConstructor 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)
ProtocolHandlerChain
getHandlers
in interface ProtocolHandlerChain
type
- the type of handler we're interested inProtocolHandlerChain.getHandlers(java.lang.Class)
public void wireExtensibleHandlers() throws WiringException
WiringException
public void destroy()
ProtocolHandlerChain
ProtocolHandlerChain
. After this call it will not be usable anymoredestroy
in interface ProtocolHandlerChain
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.