Binding (Java EE 5 SDK)

Java

Java EE 5 SDK

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


javax.xml.ws Interface Binding

所有已知子接口:
HTTPBinding, SOAPBinding

public interface Binding

The Binding interface is the base interface for JAX-WS protocol bindings.

从以下版本开始:
JAX-WS 2.0

方法摘要
 List<Handler> getHandlerChain()
          Gets a copy of the handler chain for a protocol binding instance.
 void setHandlerChain(List<Handler> chain)
          Sets the handler chain for the protocol binding instance.
 

方法详细信息

getHandlerChain

List<Handler> getHandlerChain()
Gets a copy of the handler chain for a protocol binding instance. If the returned chain is modified a call to setHandlerChain is required to configure the binding instance with the new chain.

返回:
java.util.List Handler chain

setHandlerChain

void setHandlerChain(List<Handler> chain)
Sets the handler chain for the protocol binding instance.

参数:
chain - A List of handler configuration entries
抛出异常:
WebServiceException - On an error in the configuration of the handler chain
UnsupportedOperationException - If this operation is not supported. This may be done to avoid any overriding of a pre-configured handler chain.

Java EE 5 SDK

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


提交错误或意见

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