org.oddjob.arooa.registry
Class CompositeServiceFinder

java.lang.Object
  extended by org.oddjob.arooa.registry.CompositeServiceFinder
All Implemented Interfaces:
ServiceFinder

public class CompositeServiceFinder
extends Object
implements ServiceFinder

A ServiceFinder that combines the results of other ServiceFinders.

Author:
rob

Constructor Summary
CompositeServiceFinder(ServiceFinder... finders)
           
 
Method Summary
 Object find(Class<?> cl, String flavour)
          Find a service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositeServiceFinder

public CompositeServiceFinder(ServiceFinder... finders)
Method Detail

find

public Object find(Class<?> cl,
                   String flavour)
Description copied from interface: ServiceFinder
Find a service. Why isn't this parameterised?

Specified by:
find in interface ServiceFinder
Parameters:
cl - The class of the service.
flavour - The flavour of the service. Not yet implemented.
Returns: