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
<T> T
find(Class<T> 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 <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: