public class HandlerInfo
extends java.lang.Object
implements java.io.Serializable
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.HandlerChain
,
Serialized FormConstructor and Description |
---|
HandlerInfo()
Default constructor
|
HandlerInfo(java.lang.Class handlerClass,
java.util.Map config,
javax.xml.namespace.QName[] headers)
Constructor for HandlerInfo
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class |
getHandlerClass()
Gets the Handler class
|
java.util.Map |
getHandlerConfig()
Gets the Handler configuration
|
javax.xml.namespace.QName[] |
getHeaders()
Gets the header blocks processed by this Handler.
|
void |
setHandlerClass(java.lang.Class handlerClass)
Sets the Handler class
|
void |
setHandlerConfig(java.util.Map config)
Sets the Handler configuration as
java.util.Map |
void |
setHeaders(javax.xml.namespace.QName[] headers)
Sets the header blocks processed by this Handler.
|
public HandlerInfo()
public HandlerInfo(java.lang.Class handlerClass, java.util.Map config, javax.xml.namespace.QName[] headers)
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
blockpublic void setHandlerClass(java.lang.Class handlerClass)
handlerClass
- Class for the Handlerpublic java.lang.Class getHandlerClass()
public void setHandlerConfig(java.util.Map config)
java.util.Map
config
- Configuration mappublic java.util.Map getHandlerConfig()
public void setHeaders(javax.xml.namespace.QName[] headers)
headers
- QNames of the header blocks. QName
is the qualified name of the outermost
element of the SOAP header blockpublic javax.xml.namespace.QName[] getHeaders()
null
if no header blocks have been
set using the setHeaders
method.