AlternativeSelector (Apache CXF API 2.5.0.fuse-70-097 API)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Apache CXF API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cxf.ws.policy
Interface AlternativeSelector

    public interface AlternativeSelector

Used by the Policy engine to select the Policy alternative to use. By default, the Policy engine uses a "Minimal" policy alternative selector that finds the alternative with the smallest Collection of Assertions to assert.

Method Summary
`Collection<org.apache.neethi.Assertion>` | `selectAlternative(org.apache.neethi.Policy policy, PolicyEngine engine, Assertor assertor, List<List<org.apache.neethi.Assertion>> request)`

Method Detail

### selectAlternative

    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:

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Apache CXF API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Apache CXF