javax.xml.rpc.handler
Class HandlerInfo
java.lang.Object
javax.xml.rpc.handler.HandlerInfo
- Serializable
public class HandlerInfo
extends java.lang.Object
implements Serializable
The javax.xml.rpc.handler.HandlerInfo
represents
information about a handler in the HandlerChain. A HandlerInfo
instance is passed in the Handler.init
method to
initialize a Handler
instance.
Version:
HandlerChain
HandlerInfo
public HandlerInfo()
Default constructor.
HandlerInfo
public HandlerInfo(Class handlerClass,
Map config,
QName[] headers)
Constructor for HandlerInfo.
handlerClass
- Java Class for the Handlerconfig
- Handler Configuration as a java.util.Mapheaders
- QNames for the header blocks processed
by this Handler. QName is the qualified name
of the outermost element of a header block
getHandlerClass
public Class getHandlerClass()
Gets the Handler class.
- Returns null if no Handler class has been
set; otherwise the set handler class
getHandlerConfig
public Map getHandlerConfig()
Gets the Handler configuration.
- Returns empty Map if no configuration map
has been set; otherwise returns the set configuration map
getHeaders
public QName[] getHeaders()
Gets the header blocks processed by this Handler.
- Array of QNames for the header blocks. Returns
null
if no header blocks have been
set using the setHeaders
method.
setHandlerClass
public void setHandlerClass(Class handlerClass)
Sets the Handler class.
handlerClass
- Class for the Handler
setHandlerConfig
public void setHandlerConfig(Map config)
Sets the Handler configuration as java.util.Map
config
- Configuration map
setHeaders
public void setHeaders(QName[] headers)
Sets the header blocks processed by this Handler.
headers
- QNames of the header blocks. QName
is the qualified name of the outermost
element of the SOAP header block
Copyright B) 2005 Apache Web Services Project. All Rights Reserved.