javax.xml.rpc.handler
Class HandlerInfo

java.lang.Object
  |
  +--javax.xml.rpc.handler.HandlerInfo
All Implemented Interfaces:
java.io.Serializable

public class HandlerInfo
extends java.lang.Object
implements java.io.Serializable

The javax.xml.rpc.handler.HandlerInfo represents information about a handler in the HandlerChain. All elements in the HandlerChain are of the type HandlerInfo.

See Also:
HandlerChain, Serialized Form

Constructor Summary
HandlerInfo()
          Default constructor
HandlerInfo(java.lang.Class handlerClass, java.util.Map config, QName[] headers)
          Constructor for HandlerInfo
 
Method Summary
 java.lang.Class getHandlerClass()
          Gets the Handler class
 java.util.Map getHandlerConfig()
          Gets the Handler configuration map
 QName[] getHeaders()
          Get the header blocks.
 void setHandlerClass(java.lang.Class handlerClass)
          Sets the Handler class
 void setHandlerConfig(java.util.Map config)
          Sets the Handler configuration map
 void setHeaders(QName[] headers)
          Set the header blocks.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HandlerInfo

public HandlerInfo()
Default constructor

HandlerInfo

public HandlerInfo(java.lang.Class handlerClass,
                   java.util.Map config,
                   QName[] headers)
Constructor for HandlerInfo

Parameters:
handlerClass - 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
Method Detail

setHandlerClass

public void setHandlerClass(java.lang.Class handlerClass)
Sets the Handler class
Parameters:
handlerClass - Class for the Handler

getHandlerClass

public java.lang.Class getHandlerClass()
Gets the Handler class
Returns:
Returns null if no Handler class has been set; otherwise the set handler class

setHandlerConfig

public void setHandlerConfig(java.util.Map config)
Sets the Handler configuration map
Parameters:
config - Configuration map

getHandlerConfig

public java.util.Map getHandlerConfig()
Gets the Handler configuration map
Returns:
Returns empty Map if no configuration map has been set; otherwise returns the set configuration map

setHeaders

public void setHeaders(QName[] headers)
Set the header blocks.

getHeaders

public QName[] getHeaders()
Get the header blocks.


Copyright © 2001 Apache XML Project. All Rights Reserved.