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.


Method Summary
 HandlerChain getRequestHandlerChain(QName portName)
          Gets the request HandlerChain for the specified service endpoint.
 HandlerChain getResponseHandlerChain(QName portName)
          Gets the response HandlerChain for the specified service endpoint.
 void setRequestHandlerChain(QName portName, HandlerChain chain)
          Sets the request HandlerChain for the specified service endpoint.
 void setResponseHandlerChain(QName portName, HandlerChain chain)
          Sets the response HandlerChain for the specified service endpoint.
 

Method Detail

getRequestHandlerChain

public HandlerChain getRequestHandlerChain(QName portName)
Gets the request HandlerChain for the specified service endpoint.
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)
                            throws JAXRPCException
Sets the request HandlerChain for the specified service endpoint.
Parameters:
portName - Qualified name of the target service endpoint
chain - Request HandlerChain instance
Throws:
JAXRPCException - If any error in the setting of the HandlerChain
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

getResponseHandlerChain

public HandlerChain getResponseHandlerChain(QName portName)
Gets the response HandlerChain for the specified service endpoint.
Parameters:
portName - Qualified name of the target service endpoint
Returns:
HandlerChain Returns the registered HandlerChain;
Throws:
java.lang.IllegalArgumentException - If an invalid portName is specified

setResponseHandlerChain

public void setResponseHandlerChain(QName portName,
                                    HandlerChain chain)
                             throws JAXRPCException
Sets the response HandlerChain for the specified service endpoint.
Parameters:
portName - Qualified name of the target service endpoint
chain - Response HandlerChain instance.
Throws:
JAXRPCException - If any error in the setting of the HandlerChain
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


Copyright © 2001 Apache XML Project. All Rights Reserved.