public abstract class EndpointContext extends Object
EndpointContext
允许多个端点在一个应用程序共享的任何信息。例如,Servlet应用的战争可能包含多个端点,这些端点可以通过分享这方面得到对方的地址。如果多点共享一个WSDL端口不同,那么多端口地址可以修补当WSDL访问。它还允许所有端点共享任何其他运行时信息。
这就需要利用Endpoint.setEndpointContext(javax.xml.ws.EndpointContext)
之前Endpoint.publish(java.lang.String)
方法。
Constructor and Description |
---|
EndpointContext() |
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.