org.oddjob.arooa.registry
Class ContextHierarchyServiceFinder
java.lang.Object
org.oddjob.arooa.registry.ContextHierarchyServiceFinder
- All Implemented Interfaces:
- ServiceFinder
public class ContextHierarchyServiceFinder
- extends Object
- implements ServiceFinder
A ServiceFinder] that uses the hierarchy of {@link ArooaContext}s
to find a service.
- Author:
- rob
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContextHierarchyServiceFinder
public ContextHierarchyServiceFinder(ArooaContext arooaContext)
- Create a new instance of this service finder..
- Parameters:
arooaContext
- The starting context.
find
public <T> T find(Class<T> cl,
String flavour)
- Description copied from interface:
ServiceFinder
- Find a service.
- Specified by:
find
in interface ServiceFinder
- Parameters:
cl
- The class of the service.flavour
- The flavour of the service. Not yet implemented.
- Returns: