public class HandlerChainImpl extends ArrayList implements HandlerChain
| Modifier and Type | Field and Description |
|---|---|
protected List |
handlerInfos |
static String |
JAXRPC_METHOD_INFO |
protected static org.apache.commons.logging.Log |
log |
modCount| Constructor and Description |
|---|
HandlerChainImpl() |
HandlerChainImpl(List handlerInfos) |
| Modifier and Type | Method and Description |
|---|---|
void |
addNewHandler(String className,
Map config) |
void |
destroy()
Indicates the end of lifecycle for a HandlerChain.
|
ArrayList |
getMessageInfo(SOAPMessage message) |
String[] |
getRoles()
Gets SOAP actor roles registered for this HandlerChain at
this SOAP node.
|
boolean |
handleFault(MessageContext _context)
The
handleFault method initiates the SOAP
fault processing for this handler chain. |
boolean |
handleRequest(MessageContext _context)
The
handleRequest method initiates the request
processing for this handler chain. |
boolean |
handleResponse(MessageContext context)
The
handleResponse method initiates the response
processing for this handler chain. |
void |
init(Map map)
Initializes the configuration for a HandlerChain.
|
void |
setRoles(String[] roles)
Sets SOAP Actor roles for this
HandlerChain. |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeRange, retainAll, set, size, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAll, toStringprotected static org.apache.commons.logging.Log log
public static final String JAXRPC_METHOD_INFO
protected List handlerInfos
public HandlerChainImpl()
public HandlerChainImpl(List handlerInfos)
public String[] getRoles()
HandlerChainnext.getRoles in interface HandlerChainpublic void setRoles(String[] roles)
HandlerChainHandlerChain. This
specifies the set of roles in which this HandlerChain is to act
for the SOAP message processing at this SOAP node. These roles
assumed by a HandlerChain must be invariant during the
processing of an individual SOAP message through the HandlerChain.
A HandlerChain always acts in the role of the
special SOAP actor next. Refer to the SOAP
specification for the URI name for this special SOAP actor.
There is no need to set this special role using this method.
setRoles in interface HandlerChainroles - URIs for SOAP actor namepublic void init(Map map)
HandlerChaininit in interface HandlerChainmap - Configuration for the initialization of this handler
chainpublic boolean handleFault(MessageContext _context)
HandlerChainhandleFault method initiates the SOAP
fault processing for this handler chain.handleFault in interface HandlerChain_context - MessageContext parameter provides access to the SOAP
message.true if all handlers in
chain have been processed. Returns false
if a handler in the chain returned
false from its handleFault method.public ArrayList getMessageInfo(SOAPMessage message)
public boolean handleRequest(MessageContext _context)
HandlerChainhandleRequest method initiates the request
processing for this handler chain.handleRequest in interface HandlerChain_context - MessageContext parameter provides access to
the request SOAP message.true if all handlers in
chain have been processed. Returns false
if a handler in the chain returned
false from its handleRequest
method.public boolean handleResponse(MessageContext context)
HandlerChainhandleResponse method initiates the response
processing for this handler chain.handleResponse in interface HandlerChaincontext - MessageContext parameter provides access to the response
SOAP message.true if all handlers in
chain have been processed. Returns false
if a handler in the chain returned
false from its handleResponse method.public void destroy()
HandlerChaindestroy in interface HandlerChainCopyright © The Apache Software Foundation. All Rights Reserved.