Apache CXF API

org.apache.cxf.ws.policy.selector
Class MinimalAlternativeSelector

java.lang.Object
  extended by org.apache.cxf.ws.policy.selector.BaseAlternativeSelector
      extended by org.apache.cxf.ws.policy.selector.MinimalAlternativeSelector
All Implemented Interfaces:
AlternativeSelector

public class MinimalAlternativeSelector
extends BaseAlternativeSelector


Constructor Summary
MinimalAlternativeSelector()
           
 
Method Summary
 Collection<org.apache.neethi.Assertion> selectAlternative(org.apache.neethi.Policy policy, PolicyEngine engine, Assertor assertor, List<List<org.apache.neethi.Assertion>> request)
           
 
Methods inherited from class org.apache.cxf.ws.policy.selector.BaseAlternativeSelector
isCompatible, isCompatibleWithRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MinimalAlternativeSelector

public MinimalAlternativeSelector()
Method Detail

selectAlternative

public Collection<org.apache.neethi.Assertion> selectAlternative(org.apache.neethi.Policy policy,
                                                                 PolicyEngine engine,
                                                                 Assertor assertor,
                                                                 List<List<org.apache.neethi.Assertion>> request)
Parameters:
policy - The full policy to consider
engine - The policy engine calling the selector
assertor - Additional asserter (such as the transport) that may be able to handle some of the assertions
request - On the server out bound side, this will contain the alternatives from the request that were successfully met by the request. The selector should use these to help narrow down the alternative to use.
Returns:

Apache CXF API

Apache CXF