public class IsExactType extends AbstractConstraint
| Modifier and Type | Field and Description |
|---|---|
private java.lang.Class |
type |
| Constructor and Description |
|---|
IsExactType(java.lang.Class c)
Creates a new
IsExactType 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 IsExactType(java.lang.Class c)
IsExactType instance.c - the Class to matchpublic boolean evaluate(org.picocontainer.ComponentAdapter adapter)
Constraintevaluate in interface Constraintevaluate in class AbstractConstraintadapter - a ComponentAdapter value