Package javax.xml.rpc.handler
Interface HandlerRegistry
-
- All Superinterfaces:
java.io.Serializable
public interface HandlerRegistry extends java.io.Serializable
Thejavax.xml.rpc.handler.HandlerRegistry
provides support for the programmatic configuration of handlers in aHandlerRegistry
.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
- Version:
- $Rev: 467553 $ $Date: 2006-10-25 00:01:51 -0400 (Wed, 25 Oct 2006) $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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 ajava.util.List
.
-
-
-
Method Detail
-
getHandlerChain
java.util.List getHandlerChain(javax.xml.namespace.QName portName)
Gets the handler chain for the specified service endpoint. The returnedList
is used to configure this specific handler chain in thisHandlerRegistry
. Each element in this list is required to be of the Java typejavax.xml.rpc.handler.HandlerInfo
.- Parameters:
portName
- Qualified name of the target service- Returns:
- HandlerChain java.util.List Handler chain
- Throws:
java.lang.IllegalArgumentException
- If an invalidportName
is specified
-
setHandlerChain
void setHandlerChain(javax.xml.namespace.QName portName, java.util.List chain)
Sets the handler chain for the specified service endpoint as ajava.util.List
. Each element in this list is required to be of the Java typejavax.xml.rpc.handler.HandlerInfo
.- Parameters:
portName
- Qualified name of the target service endpointchain
- a List representing configuration for the handler chain- Throws:
JAXRPCException
- if there is any error in the configuration of the handler chainjava.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 invalidportName
is specified
-
-