@CompileStatic @Slf4j class DefaultServiceRegistry extends Object implements Initializable, ServiceRegistry
The default ServiceRegistry implementation
| Modifiers | Name | Description |
|---|---|---|
protected Collection<Service> |
services |
|
protected Map<String, Service> |
servicesByInterface |
| Constructor and description |
|---|
DefaultServiceRegistry(Datastore datastore, boolean exceptionOnLoadError) |
| Type Params | Return Type | Name and description |
|---|---|---|
<T> |
T |
getService(Class<T> interfaceType) |
|
Collection<Service> |
getServices() |
|
void |
initialize() |
|
boolean |
isInitialized() |
|
protected boolean |
isValidInterface(Class i) |
|
protected Iterable<Service> |
loadServices() |
The datastore this service relates to
Groovy Documentation