Avalon Finder Facility
The finder is a component that provides support for the dynamic resolution of a services. The finder is a facility and as such can access and navigate the containment model for solutions to service requests.
Finder Interface
The finder interface is defainged as:
package org.apache.avalon.finder; /** * Defintion of the Finder service contract. */ public interface Finder { /** * Find an object fullfilling the supplied service class. * * @param service the service class that the returned * object if gauranteed to fulfill * @exception FinderException if a provider could not be found */ Object find( Class service ) throws FinderException; /** * Release an object that was resolved using the find operation. * * @param object the object to release */ void release( Object object ); }