public interface ServiceReader
Modifier and Type | Method and Description |
---|---|
<S> S |
getServiceReference(Class<S> serviceClass)
Retrieves the first found service reference.
|
<S> Set<S> |
getServices(Class<S> serviceClass,
String filter)
Retrieves all service references matching the class and LDAP filter.
|
<S> S getServiceReference(Class<S> serviceClass) throws ConfiguratorException
S
- type to be returnedserviceClass
- Class of service to retrieveConfiguratorException
- if any errors occur<S> Set<S> getServices(Class<S> serviceClass, String filter) throws ConfiguratorException
S
- type to be returnedserviceClass
- Class of service to retrievefilter
- LDAP filter to limit resultsConfiguratorException
- if any errors occurThis work is licensed under a Creative Commons Attribution 4.0 International License.