HandlerRegistry (Java EE 5 SDK)

Java

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


javax.xml.rpc.handler Interface HandlerRegistry

所有父接口:
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.

版本:
1.0
作者:
Rahul Sharma
另请参见:
Service

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

方法详细信息

getHandlerChain

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.

参数:
portName - Qualified name of the target service endpoint
返回:
java.util.List Handler chain
抛出异常:
IllegalArgumentException - If an invalid portName is specified

setHandlerChain

void setHandlerChain(QName portName,
                     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.

参数:
portName - Qualified name of the target service endpoint
chain - A List representing configuration for the handler chain
抛出异常:
JAXRPCException - If any error in the configuration of the handler chain
UnsupportedOperationException - If this set operation is not supported. This is done to avoid any overriding of a pre-configured handler chain.
IllegalArgumentException - If an invalid portName is specified

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


提交错误或意见

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.