Package javax.xml.rpc.handler
Interface HandlerRegistry
-
- All Superinterfaces:
Serializable
public interface HandlerRegistry extends Serializable
Thejavax.xml.rpc.handler.HandlerRegistryprovides 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:
- 1.0
- Author:
- Rahul Sharma
- See Also:
Service
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListgetHandlerChain(QName portName)Gets the handler chain for the specified service endpoint.voidsetHandlerChain(QName portName, List chain)Sets the handler chain for the specified service endpoint as ajava.util.List.
-
-
-
Method Detail
-
getHandlerChain
List getHandlerChain(QName portName)
Gets the handler chain for the specified service endpoint. The returnedListis 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 endpoint- Returns:
- java.util.List Handler chain
- Throws:
IllegalArgumentException- If an invalidportNameis specified
-
setHandlerChain
void setHandlerChain(QName portName, 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 any error in the configuration of the handler chainUnsupportedOperationException- If this set operation is not supported. This is done to avoid any overriding of a pre-configured handler chain.IllegalArgumentException- If an invalidportNameis specified
-
-