|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.xml.rpc.handler.HandlerInfo
public class HandlerInfo
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.
HandlerChain
,
Serialized FormConstructor 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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HandlerInfo()
public HandlerInfo(Class handlerClass, Map config, 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
blockMethod Detail |
---|
public void setHandlerClass(Class handlerClass)
handlerClass
- Class for the Handlerpublic Class getHandlerClass()
public void setHandlerConfig(Map config)
java.util.Map
config
- Configuration mappublic Map getHandlerConfig()
public void setHeaders(QName[] headers)
headers
- QNames of the header blocks. QName
is the qualified name of the outermost
element of the SOAP header blockpublic QName[] getHeaders()
null
if no header blocks have been
set using the setHeaders
method.
|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2006 Sun Microsystems, Inc. All rights reserved.