public interface Provider<T>
服务端点可以实现Provider接口作为SEI的动态替代。
实现都必须支持Provider<Source> , Provider<SOAPMessage>和Provider<DataSource> ,这取决于所使用的服务模式的结合和。
ServiceMode注释可用于控制Provider实例是否将接收整个协议消息或仅接收消息有效载荷。
Source , SOAPMessage , ServiceMode
T invoke(T request)
request - 请求消息或消息有效载荷。
null如果没有回应。
WebServiceException - 如果有错误处理请求。
可以将WebServiceException的原因设置为ProtocolException的子类,以控制ProtocolException的协议级表示。
MessageContext , ProtocolException
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.