javax.xml.rpc.handler
Interface HandlerRegistry
- All Superinterfaces:
- java.io.Serializable
- public interface HandlerRegistry
- extends java.io.Serializable
The javax.xml.rpc.handler.HandlerRegistry
provides
support for programmatic configuration of handlers in a
HandlerRegistry.
getHandlerChain
public HandlerChain getHandlerChain(QName portName)
- Gets the handler chain for the specified service endpoint. The returned
List is used to configure this specific handler chain in this
HandlerRegistry.
- Parameters:
portName
- Qualified name of the target service- Returns:
- HandlerChain Returns the registered HandlerChain;
- Throws:
java.lang.IllegalArgumentException
- If an invalid portName is specified
setRequestHandlerChain
public void setRequestHandlerChain(QName portName,
HandlerChain chain)
- Sets the handler chain for the specified service endpoint.
- Parameters:
portName
- Qualified name of the target service endpointchain
- Request HandlerChain instance- Throws:
JAXRPCException
- If any error in the setting of
the HandlerChainjava.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
Copyright © 2001 Apache XML Project. All Rights Reserved.