| |
|
| org.jicarilla.container.ResolverCallback
ResolverCallback | public interface ResolverCallback (Code) | | Represents the contract between a
DefaultContainer or
DefaultKeyRelayingContainer and the associated
Resolver .
This class is not part of the public API on purpose -- it is an
implementation detail associated with the way the default implementation
package divides functionality.
author: Leo Simons version: $Id: ResolverCallback.java,v 1.3 2004/03/23 13:37:51 lsimons Exp $ |
getSwitch | Switch getSwitch()(Code) | | Called by the resolver to retrieve a reference to the
Switch that contains the mapping from keys to adapters used by the container.
The reference that is retrieved should not be stored in the resolver.
the reference to the switch that contains the mapping from keysto adapters used by the container. |
providedInstance | void providedInstance(Object instance, Object adapter)(Code) | | Called by the resolver whenever it retrieves an instance from an
adapter that it retrieved from the switch provided by
ResolverCallback.getSwitch() .
Parameters: instance - the instance that was retrieved. Parameters: adapter - the adapter from which the instance was retrieved. |
|
|
|