Class ContextHierarchyServiceFinder

java.lang.Object
org.oddjob.arooa.registry.ContextHierarchyServiceFinder
All Implemented Interfaces:
ServiceFinder

public class ContextHierarchyServiceFinder extends Object implements ServiceFinder
A
invalid @link
{@link ServiceFinder]
that uses the hierarchy of ArooaContexts to find a service.
Author:
rob
  • Constructor Details

    • ContextHierarchyServiceFinder

      public ContextHierarchyServiceFinder(ArooaContext arooaContext)
      Create a new instance of this service finder..
      Parameters:
      arooaContext - The starting context.
  • Method Details

    • 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: