HandlerResolver (Java EE 5 SDK)

Java

Java EE 5 SDK

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


javax.xml.ws.handler Interface HandlerResolver


public interface HandlerResolver

HandlerResolver is an interface implemented by an application to get control over the handler chain set on proxy/dispatch objects at the time of their creation.

A HandlerResolver may be set on a Service using the setHandlerResolver method.

When the runtime invokes a HandlerResolver, it will pass it a PortInfo object containing information about the port that the proxy/dispatch object will be accessing.

从以下版本开始:
JAX-WS 2.0
另请参见:
Service.setHandlerResolver(javax.xml.ws.handler.HandlerResolver)

方法摘要
 List<Handler> getHandlerChain(PortInfo portInfo)
          Gets the handler chain for the specified port.
 

方法详细信息

getHandlerChain

List<Handler> getHandlerChain(PortInfo portInfo)
Gets the handler chain for the specified port.

参数:
portInfo - Contains information about the port being accessed.
返回:
java.util.List Handler chain

Java EE 5 SDK

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


提交错误或意见

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