javax.xml.rpc.handler
public class HandlerInfo extends Object implements 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.
See Also: HandlerChain
Constructor Summary | |
---|---|
HandlerInfo() Default constructor. | |
HandlerInfo(Class handlerClass, Map config, QName[] headers)
Constructor for HandlerInfo.
|
Method Summary | |
---|---|
Class | getHandlerClass()
Gets the Handler class.
|
Map | getHandlerConfig()
Gets the Handler configuration.
|
QName[] | getHeaders()
Gets the header blocks processed by this Handler. |
void | setHandlerClass(Class handlerClass)
Sets the Handler class.
|
void | setHandlerConfig(Map config)
Sets the Handler configuration as java.util.Map |
void | setHeaders(QName[] headers)
Sets the header blocks processed by this Handler. |
Parameters: handlerClass Java Class for the Handler config Handler Configuration as a java.util.Map headers QNames for the header blocks processed by this Handler. QName is the qualified name of the outermost element of a header block
Returns: Returns null if no Handler class has been set; otherwise the set handler class
Returns: Returns empty Map if no configuration map has been set; otherwise returns the set configuration map
Returns: Array of QNames for the header blocks. Returns
null
if no header blocks have been
set using the setHeaders
method.
Parameters: handlerClass Class for the Handler
java.util.Map
Parameters: config Configuration map
Parameters: headers QNames of the header blocks. QName is the qualified name of the outermost element of the SOAP header block