|
DRAFT | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface HandlerRegistry
The javax.xml.rpc.handler.HandlerRegistry
provides support for the programmatic configuration of
handlers in a HandlerRegistry.
A handler chain is registered per service endpoint, as
indicated by the qualified name of a port. The getHandlerChain
returns the handler chain (as a java.util.List) for the
specified service endpoint. The returned handler chain is
configured using the java.util.List interface. Each element
in this list is required to be of the Java type
javax.xml.rpc.handler.HandlerInfo.
Service| Method Summary | |
|---|---|
java.util.List |
getHandlerChain(javax.xml.namespace.QName portName)
Gets the handler chain for the specified service endpoint. |
void |
setHandlerChain(javax.xml.namespace.QName portName,
java.util.List chain)
Sets the handler chain for the specified service endpoint as a java.util.List. |
| Method Detail |
|---|
java.util.List getHandlerChain(javax.xml.namespace.QName portName)
List is used to configure this
specific handler chain in this HandlerRegistry.
Each element in this list is required to be of the Java type
javax.xml.rpc.handler.HandlerInfo.
portName - Qualified name of the target service endpoint
java.lang.IllegalArgumentException - If an invalid
portName is specified
void setHandlerChain(javax.xml.namespace.QName portName,
java.util.List chain)
java.util.List. Each element in this list
is required to be of the Java type
javax.xml.rpc.handler.HandlerInfo.
portName - Qualified name of the target service endpointchain - A List representing configuration for the
handler chain
JAXRPCException - If any error in the configuration of
the handler chain
java.lang.UnsupportedOperationException - If this
set operation is not supported. This is done to
avoid any overriding of a pre-configured handler
chain.
java.lang.IllegalArgumentException - If an invalid
portName is specified
|
DRAFT | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright © 2009 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.
Generated on 24-November-2009 03:24