| org.picocontainer.gems.constraints.AbstractConstraint org.picocontainer.gems.constraints.IsKey
IsKey | final public class IsKey extends AbstractConstraint (Code) | | Constraint that accepts an adapter of a specific key.
author: Nick Sieger |
Constructor Summary | |
public | IsKey(Object key) Creates a new IsKey instance. |
IsKey | public IsKey(Object key)(Code) | | Creates a new IsKey instance.
Parameters: key - the key to match |
Methods inherited from org.picocontainer.gems.constraints.AbstractConstraint | abstract public boolean evaluate(ComponentAdapter adapter)(Code)(Java Doc) protected Map<Object, ComponentAdapter<?>> getMatchingComponentAdapters(PicoContainer container, ComponentAdapter adapter, Class keyType, Class valueType)(Code)(Java Doc) public boolean isResolvable(PicoContainer container, ComponentAdapter adapter, Class expectedType, NameBinding expectedNameBinding, boolean useNames, Annotation binding) throws PicoCompositionException(Code)(Java Doc) public Object resolveInstance(PicoContainer container, ComponentAdapter adapter, Class expectedType, NameBinding expectedNameBinding, boolean useNames, Annotation binding) throws PicoCompositionException(Code)(Java Doc) public void verify(PicoContainer container, ComponentAdapter adapter, Class expectedType, NameBinding expectedNameBinding, boolean useNames, Annotation binding) throws PicoCompositionException(Code)(Java Doc)
|
|
|