|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
javax.xml.ws Interface Provider<T>
public interface Provider<T>
服务端点可以将
Provider
接口作为 SEI 的动态替代方法实现。要求实现支持 Provider<Source>
和 Provider<SOAPMessage>
。
ServiceMode
注释可以用来控制 Provider
实例是收到整个协议消息还是只收到消息有效载荷。
since | JAX-WS 2.0 |
See also | javax.xml.transform.Source, javax.xml.soap.SOAPMessage, javax.xml.ws.ServiceMode |
Service endpoints may implement the Provider
interface as a dynamic alternative to an SEI. Implementations
are required to support Provider<Source>
and
Provider<SOAPMessage>
.
The ServiceMode
annotation can be used to control whether
the Provider
instance will receive entire protocol messages
or just message payloads.
- Since:
- JAX-WS 2.0
- See Also:
Source
,SOAPMessage
,ServiceMode
Method Summary | |
---|---|
T |
invoke(T request)
Invokes an operation occording to the contents of the request message. |
Method Detail |
---|
英文文档:
invoke
T invoke(T request)
- Invokes an operation occording to the contents of the request
message.
- Parameters:
request
- The request message or message payload.- Returns:
- The response message or message payload. May be null if there is no response.
- Throws:
WebServiceException
- if there is an error processing request. The cause of the WebServiceException may be set to a subclass of ProtocolException to control the protocol level representation of the exception.- See Also:
MessageContext
,ProtocolException
|
|||||||||
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 : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!