Uses of Class
com.sun.xml.ws.policy.PolicyException
Packages that use PolicyException
Package
Description
The root package of public policy API.
This package contains utility classes that are not part of the public Policy API.
The part of public policy API that defines the classes and interfaces dealing with
the policy tree structure (policy source model) creation and manipulation.
Implements utility routines to parse external policy attachments as defined
by WS-PolicyAttachment.
The package contains policy API extension point definitions.
-
Uses of PolicyException in com.sun.xml.ws.addressing.policy
Methods in com.sun.xml.ws.addressing.policy that throw PolicyExceptionModifier and TypeMethodDescriptionCollection<jakarta.xml.ws.WebServiceFeature>AddressingFeatureConfigurator.getFeatures(PolicyMapKey key, PolicyMap policyMap) Puts an addressing policy into the PolicyMap if the addressing feature was set. -
Uses of PolicyException in com.sun.xml.ws.api.policy
Methods in com.sun.xml.ws.api.policy that throw PolicyExceptionModifier and TypeMethodDescriptionstatic voidAlternativeSelector.doSelection(EffectivePolicyModifier modifier) static ValidationProcessorValidationProcessor.getInstance()Factory method that returns singleton instance of the class.static ModelTranslatorModelTranslator.getTranslator()Method returns thread-safe policy model translator instance. -
Uses of PolicyException in com.sun.xml.ws.encoding.policy
Methods in com.sun.xml.ws.encoding.policy that throw PolicyExceptionModifier and TypeMethodDescriptionCollection<jakarta.xml.ws.WebServiceFeature>FastInfosetFeatureConfigurator.getFeatures(PolicyMapKey key, PolicyMap policyMap) Process FastInfoset policy assertions.Collection<jakarta.xml.ws.WebServiceFeature>MtomFeatureConfigurator.getFeatures(PolicyMapKey key, PolicyMap policyMap) process Mtom policy assertions and if found and is not optional then mtom is enabled on theWSDLBoundPortTypeCollection<jakarta.xml.ws.WebServiceFeature>SelectOptimalEncodingFeatureConfigurator.getFeatures(PolicyMapKey key, PolicyMap policyMap) Process SelectOptimalEncoding policy assertions.Generates an MTOM policy if MTOM is enabled. -
Uses of PolicyException in com.sun.xml.ws.policy
Methods in com.sun.xml.ws.policy that throw PolicyExceptionModifier and TypeMethodDescriptionstatic voidEffectiveAlternativeSelector.doSelection(EffectivePolicyModifier modifier) Does the selection for policy map bound to given modifier.PolicySubject.getEffectivePolicy(PolicyMerger merger) Returns the effective policy of the subject, i.e.PolicyMap.getEndpointEffectivePolicy(PolicyMapKey key) PolicyMap.getFaultMessageEffectivePolicy(PolicyMapKey key) PolicyMap.getInputMessageEffectivePolicy(PolicyMapKey key) static AssertionValidationProcessorAssertionValidationProcessor.getInstance()Factory method that returns singleton instance of the class.PolicyMap.getOperationEffectivePolicy(PolicyMapKey key) PolicyMap.getOutputMessageEffectivePolicy(PolicyMapKey key) PolicyMap.getServiceEffectivePolicy(PolicyMapKey key) static voidPolicyMapUtil.insertPolicies(PolicyMap policyMap, Collection<PolicySubject> policySubjects, QName serviceName, QName portName) Inserts all PolicySubjects of type WsdlBindingSubject into the given policy map.static voidPolicyMapUtil.rejectAlternatives(PolicyMap map) Throw an exception if the policy map contains any policy with at least two policy alternatives.protected static voidEffectiveAlternativeSelector.selectAlternatives(EffectivePolicyModifier modifier, AssertionValidationProcessor validationProcessor) This method is intended to be called by extension classes that need to override the behavior ofEffectiveAlternativeSelector.doSelection(com.sun.xml.ws.policy.EffectivePolicyModifier).AssertionValidationProcessor.validateClientSide(PolicyAssertion assertion) Validates fitness of theassertionon the client side.AssertionValidationProcessor.validateServerSide(PolicyAssertion assertion) Validates fitness of theassertionon the server side.Constructors in com.sun.xml.ws.policy that throw PolicyExceptionModifierConstructorDescriptionprotectedAssertionValidationProcessor(Collection<PolicyAssertionValidator> policyValidators) This constructor adds the given set of policy validators to the dynamically discovered PolicyAssertionValidators. -
Uses of PolicyException in com.sun.xml.ws.policy.jaxws
Methods in com.sun.xml.ws.policy.jaxws that throw PolicyExceptionModifier and TypeMethodDescriptionstatic voidPolicyUtil.configureModel(WSDLModel model, PolicyMap policyMap) Iterates through the ports in the WSDL model, for each policy in the policy map that is attached at endpoint scope computes a list of corresponding WebServiceFeatures and sets them on the port.voidSet the URI that identifies the policy. -
Uses of PolicyException in com.sun.xml.ws.policy.jaxws.spi
Methods in com.sun.xml.ws.policy.jaxws.spi that throw PolicyExceptionModifier and TypeMethodDescriptionCollection<jakarta.xml.ws.WebServiceFeature>PolicyFeatureConfigurator.getFeatures(PolicyMapKey key, PolicyMap policyMap) A callback method that allows to retrieve policy related information from provided PolicyMap and return a list of corresponding WebServiceFeatures.A callback method that allows to retrieve policy related information from provided parameters return a collection of new policies that are added to the map. -
Uses of PolicyException in com.sun.xml.ws.policy.privateutil
Methods in com.sun.xml.ws.policy.privateutil that throw PolicyExceptionModifier and TypeMethodDescriptionstatic StringPolicyUtils.ConfigFile.generateFullName(String configFileIdentifier) Generates a config file resource name from provided config file identifier. -
Uses of PolicyException in com.sun.xml.ws.policy.sourcemodel
Methods in com.sun.xml.ws.policy.sourcemodel that throw PolicyExceptionModifier and TypeMethodDescriptionvoidPolicySourceModel.expand(PolicySourceModelContext context) Expands current policy model.static PolicyModelTranslatorPolicyModelTranslator.getTranslator()Method returns thread-safe policy model translator instance.abstract voidPolicyModelMarshaller.marshal(PolicySourceModel model, Object storage) Marshalls the policy source model using provided storage referenceabstract voidPolicyModelMarshaller.marshal(Collection<PolicySourceModel> models, Object storage) Marshalls the collection of policy source models using provided storage referencevoidXmlPolicyModelMarshaller.marshal(PolicySourceModel model, Object storage) voidXmlPolicyModelMarshaller.marshal(Collection<PolicySourceModel> models, Object storage) abstract PolicySourceModelThis method translates aPolicyinto apolicy infoset.PolicyModelTranslator.translate(PolicySourceModel model) The method translatesPolicySourceModelstructure into normalizedPolicyexpression.abstract PolicySourceModelPolicyModelUnmarshaller.unmarshalModel(Object storage) Unmarshalls single policy source model from provided storage reference.XmlPolicyModelUnmarshaller.unmarshalModel(Object storage) Constructors in com.sun.xml.ws.policy.sourcemodel that throw PolicyExceptionModifierConstructorDescriptionprotected -
Uses of PolicyException in com.sun.xml.ws.policy.sourcemodel.attach
Methods in com.sun.xml.ws.policy.sourcemodel.attach that throw PolicyException -
Uses of PolicyException in com.sun.xml.ws.policy.spi
Subclasses of PolicyException in com.sun.xml.ws.policy.spiModifier and TypeClassDescriptionfinal classException thrown in case of assertion creation failure.