Package org.apache.axis
Interface Chain
-
- All Superinterfaces:
Handler,java.io.Serializable
- All Known Subinterfaces:
TargetedChain
- All Known Implementing Classes:
SimpleChain,SimpleTargetedChain,SOAPService,Transport
public interface Chain extends Handler
AHandlerthat executes a 'chain' of child handlers in order.- Author:
- Doug Davis (dug@us.ibm.com.com)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddHandler(Handler handler)Adds a handler to the end of the chain.booleancontains(Handler handler)Discover if a handler is in this chain.Handler[]getHandlers()Get the list of handlers in the chain.-
Methods inherited from interface org.apache.axis.Handler
canHandleBlock, cleanup, generateWSDL, getDeploymentData, getName, getOption, getOptions, getUnderstoodHeaders, init, invoke, onFault, setName, setOption, setOptions
-
-
-
-
Method Detail
-
addHandler
void addHandler(Handler handler)
Adds a handler to the end of the chain. May not be called after invoke.- Parameters:
handler- theHandlerto be added
-
contains
boolean contains(Handler handler)
Discover if a handler is in this chain.- Parameters:
handler- theHandlerto check- Returns:
trueif it is in this chain,falseotherwise
-
getHandlers
Handler[] getHandlers()
Get the list of handlers in the chain. Is Handler[] the right form?- Returns:
- an array of
Handlers that have been added
-
-