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 |
PolicyResolver.ServerContext(com.sun.xml.ws.policy.PolicyMap policyMap,
Container container,
Class endpointClass,
boolean hasWsdl,
com.sun.xml.ws.policy.PolicyMapMutator... mutators)
The abstraction of PolicyMap is not finalized, and will change in few months. |
PolicyResolver.ServerContext(com.sun.xml.ws.policy.PolicyMap policyMap,
Container container,
Class endpointClass,
com.sun.xml.ws.policy.PolicyMapMutator... mutators)
The abstraction of PolicyMap is not finalized, and will change in few months. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PolicyResolver.ServerContext
public PolicyResolver.ServerContext(@Nullable
com.sun.xml.ws.policy.PolicyMap policyMap,
Container container,
Class endpointClass,
com.sun.xml.ws.policy.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
PolicyResolver.ServerContext
public PolicyResolver.ServerContext(@Nullable
com.sun.xml.ws.policy.PolicyMap policyMap,
Container container,
Class endpointClass,
boolean hasWsdl,
com.sun.xml.ws.policy.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
getPolicyMap
@Nullable
public com.sun.xml.ws.policy.PolicyMap getPolicyMap()
getEndpointClass
@Nullable
public Class getEndpointClass()
getContainer
public Container getContainer()
hasWsdl
public boolean hasWsdl()
- Return true, if this service is bundled with WSDL, false otherwise
- Returns:
getMutators
public Collection<com.sun.xml.ws.policy.PolicyMapMutator> getMutators()
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.