org.picocontainer
Class Parameter.DelegateResolver
java.lang.Object
org.picocontainer.Parameter.DelegateResolver
- All Implemented Interfaces:
- Parameter.Resolver
- Enclosing interface:
- Parameter
public abstract static class Parameter.DelegateResolver
- extends Object
- implements Parameter.Resolver
Delegate to another reolver
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Parameter.DelegateResolver
public Parameter.DelegateResolver(Parameter.Resolver delegate)
isResolved
public boolean isResolved()
- Specified by:
isResolved
in interface Parameter.Resolver
- Returns:
- can the parameter be resolved
resolveInstance
public Object resolveInstance()
- Specified by:
resolveInstance
in interface Parameter.Resolver
- Returns:
- the instance to be used to inject as a parameter
getComponentAdapter
public ComponentAdapter<?> getComponentAdapter()
- Specified by:
getComponentAdapter
in interface Parameter.Resolver
- Returns:
- the ComponentAdapter for the parameter in question
Copyright © 2003-2010 Codehaus. All Rights Reserved.