public class IsKey extends AbstractConstraint
| Modifier and Type | Field and Description |
|---|---|
private java.lang.Object |
key |
| Constructor and Description |
|---|
IsKey(java.lang.Object key)
Creates a new
IsKey instance. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluate(org.picocontainer.ComponentAdapter adapter)
Evaluate whether the given component adapter matches this constraint.
|
getMatchingComponentAdapters, isResolvable, resolveInstance, verifypublic IsKey(java.lang.Object key)
IsKey instance.key - the key to matchpublic boolean evaluate(org.picocontainer.ComponentAdapter adapter)
Constraintevaluate in interface Constraintevaluate in class AbstractConstraintadapter - a ComponentAdapter value