org.apache.cxf.ws.policy.selector
Class FirstAlternativeSelector
java.lang.Object
org.apache.cxf.ws.policy.selector.BaseAlternativeSelector
org.apache.cxf.ws.policy.selector.FirstAlternativeSelector
- All Implemented Interfaces:
- AlternativeSelector
public class FirstAlternativeSelector
- extends BaseAlternativeSelector
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FirstAlternativeSelector
public FirstAlternativeSelector()
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 considerengine
- The policy engine calling the selectorassertor
- Additional asserter (such as the transport) that may be
able to handle some of the assertionsrequest
- 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