FileDocCategorySizeDatePackage
HandlerInfo.javaAPI DocApache Axis 1.43521Sat Apr 22 18:57:28 BST 2006javax.xml.rpc.handler

HandlerInfo

public class HandlerInfo extends 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
1.0
see
HandlerChain

Fields Summary
private Class
handlerClass
Handler Class.
private Map
config
Configuration Map.
private QName[]
headers
Headers.
Constructors Summary
public HandlerInfo()
Default constructor.

        handlerClass = null;
        config       = new HashMap();
    
public HandlerInfo(Class handlerClass, Map config, QName[] headers)
Constructor for HandlerInfo.

param
handlerClass Java Class for the Handler
param
config Handler Configuration as a java.util.Map
param
headers QNames for the header blocks processed by this Handler. QName is the qualified name of the outermost element of a header block


        this.handlerClass = handlerClass;
        this.config       = config;
        this.headers      = headers;
    
Methods Summary
public java.lang.ClassgetHandlerClass()
Gets the Handler class.

return
Returns null if no Handler class has been set; otherwise the set handler class

        return handlerClass;
    
public java.util.MapgetHandlerConfig()
Gets the Handler configuration.

return
Returns empty Map if no configuration map has been set; otherwise returns the set configuration map

        return config;
    
public javax.xml.namespace.QName[]getHeaders()
Gets the header blocks processed by this Handler.

return
Array of QNames for the header blocks. Returns null if no header blocks have been set using the setHeaders method.

        return headers;
    
public voidsetHandlerClass(java.lang.Class handlerClass)
Sets the Handler class.

param
handlerClass Class for the Handler

        this.handlerClass = handlerClass;
    
public voidsetHandlerConfig(java.util.Map config)
Sets the Handler configuration as java.util.Map

param
config Configuration map

        this.config = config;
    
public voidsetHeaders(javax.xml.namespace.QName[] headers)
Sets the header blocks processed by this Handler.

param
headers QNames of the header blocks. QName is the qualified name of the outermost element of the SOAP header block

        this.headers = headers;