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

## org.picocontainer.gems.constraints
Interface Constraint

All Superinterfaces:
  org.picocontainer.Parameter

All Known Implementing Classes:
  AbstractConstraint, And, Anything, CollectionConstraint, IsExactType, IsKey, IsKeyType, IsType, Not, Or

    public interface Constraint

extends org.picocontainer.Parameter

Extension to `Parameter` that allows for constraint-based configuration of component parameters.

Author:
  Nick Sieger

Nested Class Summary

Nested classes/interfaces inherited from interface org.picocontainer.Parameter
`org.picocontainer.Parameter.DelegateResolver, org.picocontainer.Parameter.NotResolved, org.picocontainer.Parameter.Resolver, org.picocontainer.Parameter.ValueResolver`

Field Summary

Fields inherited from interface org.picocontainer.Parameter
`DEFAULT, ZERO`

Method Summary
`boolean` | `evaluate(org.picocontainer.ComponentAdapter adapter)` Evaluate whether the given component adapter matches this constraint.

Methods inherited from interface org.picocontainer.Parameter
`accept, resolve, verify`

Method Detail

### evaluate

    boolean evaluate(org.picocontainer.ComponentAdapter adapter)

  Evaluate whether the given component adapter matches this constraint.

  Parameters:
    `adapter` - a `ComponentAdapter` value
  Returns:
    true if the adapter matches the constraint

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

Copyright © 2003-2009 Codehaus. All Rights Reserved.