org.oddjob.arooa.registry
Class DirectoryServiceFinder
java.lang.Object
org.oddjob.arooa.registry.DirectoryServiceFinder
- All Implemented Interfaces:
- ServiceFinder
public class DirectoryServiceFinder
- extends Object
- implements ServiceFinder
A ServiceFinder
that looks through a BeanDirectory
for services.
- Author:
- rob
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DirectoryServiceFinder
public DirectoryServiceFinder(BeanDirectory directory)
- Only Constructor.
- Parameters:
directory
-
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: