|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
javax.xml.ws.handler Interface HandlerResolver
public interface HandlerResolver
HandlerResolver
是由应用程序实现的接口,用于控制创建 proxy/dispatch 对象时设置在这些对象上的处理程序链。
可以使用 setHandlerResolver
方法在 Service
上设置 HandlerResolver
。
当运行时调用 HandlerResolver
时,将向它传递一个 PortInfo
对象,该对象中包含 proxy/dispatch 对象将访问的端口的信息。
since | JAX-WS 2.0 |
See also | setHandlerResolver |
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.
- Since:
- JAX-WS 2.0
- See Also:
Service.setHandlerResolver(javax.xml.ws.handler.HandlerResolver)
Method Summary | |
---|---|
List<Handler> |
getHandlerChain(PortInfo portInfo)
Gets the handler chain for the specified port. |
Method Detail |
---|
public java.util.List<E>
getHandlerChain(PortInfo portInfo)
获取指定端口的处理程序链。
portInfo | 包含正被访问的端口的信息。 |
return | java.util.List 处理程序链 |
getHandlerChain
List<Handler> getHandlerChain(PortInfo portInfo)
- Gets the handler chain for the specified port.
- Parameters:
portInfo
- Contains information about the port being accessed.- Returns:
- java.util.List Handler chain
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Submit a bug or feature
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!