java.lang.Object
com.sun.xml.ws.api.policy.PolicyResolver.ServerContext
- Enclosing interface:
- PolicyResolver
-
Constructor Summary
ConstructorsConstructorDescriptionServerContext
(PolicyMap policyMap, Container container, Class endpointClass, boolean hasWsdl, PolicyMapMutator... mutators) The abstraction of PolicyMap is not finalized, and will change in few months.ServerContext
(PolicyMap policyMap, Container container, Class endpointClass, PolicyMapMutator... mutators) The abstraction of PolicyMap is not finalized, and will change in few months. -
Method Summary
Modifier and TypeMethodDescriptionboolean
hasWsdl()
Return true, if this service is bundled with WSDL, false otherwise
-
Constructor Details
-
ServerContext
public ServerContext(@Nullable PolicyMap policyMap, Container container, Class endpointClass, PolicyMapMutator... mutators) The abstraction of PolicyMap is not finalized, and will change in few months. It is highly discouraged to use PolicyMap until it is finalized. In presence of WSDL, JAX-WS by default creates PolicyMap from Policy Attachemnts in WSDL. In absense of WSDL, JAX-WS creates PolicyMap from WebServiceFeatures configured on the endpoint implementation- Parameters:
policyMap
- PolicyMap created from PolicyAttachments in WSDL or Feature annotations on endpoint implementation class.mutators
- List of PolicyMapMutators that are run eventually when a PolicyMap is created
-
ServerContext
public ServerContext(@Nullable PolicyMap policyMap, Container container, Class endpointClass, boolean hasWsdl, PolicyMapMutator... mutators) The abstraction of PolicyMap is not finalized, and will change in few months. It is highly discouraged to use PolicyMap until it is finalized. In presence of WSDL, JAX-WS by default creates PolicyMap from Policy Attachemnts in WSDL. In absense of WSDL, JAX-WS creates PolicyMap from WebServiceFeatures configured on the endpoint implementation- Parameters:
policyMap
- PolicyMap created from PolicyAttachments in WSDL or Feature annotations on endpoint implementation class.hasWsdl
- Set to true, if this service is bundled with WSDL, false otherwisemutators
- List of PolicyMapMutators that are run eventually when a PolicyMap is created
-
-
Method Details
-
getPolicyMap
-
getEndpointClass
-
getContainer
-
hasWsdl
public boolean hasWsdl()Return true, if this service is bundled with WSDL, false otherwise -
getMutators
-