javax.xml.rpc.handler

Interface HandlerRegistry

All Superinterfaces:
Serializable

public interface HandlerRegistry
extends Serializable

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

Method Summary

java.util.List
getHandlerChain(QName portName)
Gets the handler chain for the specified service endpoint.
abstract void
setHandlerChain(QName portName, java.util.List chain)
Sets the handler chain for the specified service endpoint as a java.util.List.

Method Details

getHandlerChain

public java.util.List 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. Each element in this list is required to be of the Java type javax.xml.rpc.handler.HandlerInfo.
Parameters:
portName - Qualified name of the target service
Returns:
HandlerChain java.util.List Handler chain

setHandlerChain

public abstract void setHandlerChain(QName portName,
                                     java.util.List chain)
Sets the handler chain for the specified service endpoint as a java.util.List. Each element in this list is required to be of the Java type javax.xml.rpc.handler.HandlerInfo.
Parameters:
portName - Qualified name of the target service endpoint
chain - a List representing configuration for the handler chain