public class DirectoryServiceFinder extends java.lang.Object implements ServiceFinder
ServiceFinder
that looks through a BeanDirectory
for services.Constructor and Description |
---|
DirectoryServiceFinder(BeanDirectory directory)
Only Constructor.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
find(java.lang.Class<T> cl,
java.lang.String flavour)
Find a service.
|
public DirectoryServiceFinder(BeanDirectory directory)
directory
- public <T> T find(java.lang.Class<T> cl, java.lang.String flavour)
ServiceFinder
find
in interface ServiceFinder
cl
- The class of the service.flavour
- The flavour of the service. Not yet implemented.