com.sun.xml.ws.policy
Class EffectiveAlternativeSelector

java.lang.Object
  extended by com.sun.xml.ws.policy.EffectiveAlternativeSelector
Direct Known Subclasses:
AlternativeSelector

public class EffectiveAlternativeSelector
extends Object

Contains static methods for policy alternative selection. Given policy map is changed so that each effective policy contains at most one policy alternative. Uses domain specific @see com.sun.xml.ws.policy.spi.PolicySelector to find out whether particular policy assertion is actually supported. If you are using JAX-WS, use the com.sun.xml.ws.api.policy.AlternativeSelector instead of this class.

Author:
Jakub Podlesak (jakub.podlesak at sun.com), Fabian Ritzmann

Constructor Summary
EffectiveAlternativeSelector()
           
 
Method Summary
static void doSelection(EffectivePolicyModifier modifier)
          Does the selection for policy map bound to given modifier.
protected static void selectAlternatives(EffectivePolicyModifier modifier, AssertionValidationProcessor validationProcessor)
          This method is intended to be called by extension classes that need to override the behavior of doSelection(com.sun.xml.ws.policy.EffectivePolicyModifier).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EffectiveAlternativeSelector

public EffectiveAlternativeSelector()
Method Detail

doSelection

public static void doSelection(EffectivePolicyModifier modifier)
                        throws PolicyException
Does the selection for policy map bound to given modifier. If you are using JAX-WS, use the com.sun.xml.ws.api.policy.AlternativeSelector instead of this class.

Parameters:
modifier - Holds the policy map
Throws:
PolicyException - Most likely an internal error if a policy could not be read or set on the policy map
See Also:
which the map is bound to

selectAlternatives

protected static void selectAlternatives(EffectivePolicyModifier modifier,
                                         AssertionValidationProcessor validationProcessor)
                                  throws PolicyException
This method is intended to be called by extension classes that need to override the behavior of doSelection(com.sun.xml.ws.policy.EffectivePolicyModifier).

Parameters:
modifier -
validationProcessor -
Throws:
PolicyException


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.