org.picocontainer
Class Parameter.DelegateResolver

java.lang.Object
  extended by 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


Constructor Summary
Parameter.DelegateResolver(Parameter.Resolver delegate)
           
 
Method Summary
 ComponentAdapter<?> getComponentAdapter()
           
 boolean isResolved()
           
 Object resolveInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Parameter.DelegateResolver

public Parameter.DelegateResolver(Parameter.Resolver delegate)
Method Detail

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.