Package com.sun.xml.ws.api.policy
Class PolicyResolver.ServerContext
- java.lang.Object
-
- com.sun.xml.ws.api.policy.PolicyResolver.ServerContext
-
- Enclosing interface:
- PolicyResolver
public static class PolicyResolver.ServerContext extends Object
-
-
Constructor Summary
Constructors Constructor Description ServerContext(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainergetContainer()ClassgetEndpointClass()Collection<PolicyMapMutator>getMutators()PolicyMapgetPolicyMap()booleanhasWsdl()Return true, if this service is bundled with WSDL, false otherwise
-
-
-
Constructor Detail
-
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.container-endpointClass-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.container-endpointClass-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 Detail
-
getContainer
public Container getContainer()
-
hasWsdl
public boolean hasWsdl()
Return true, if this service is bundled with WSDL, false otherwise- Returns:
-
getMutators
public Collection<PolicyMapMutator> getMutators()
-
-