NamedServiceProvider<T> Interface
Type Parameters
- T
The type of the service.
public interface NamedServiceProvider<T>
A service provider for named services.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| abstract U |
getService(String name, Class<U> clazz)
Gets the service of the specified type and name, or |
Method Details
getService
public abstract U getService(String name, Class clazz)
Gets the service of the specified type and name, or null if not found.
Parameters:
null for the default service.
Returns:
null if not found.