@groovy.transform.CompileStatic @groovy.util.logging.Slf4j class DefaultServiceRegistry extends java.lang.Object
The default ServiceRegistry implementation
Modifiers | Name | Description |
---|---|---|
protected java.util.Collection<Service> |
services |
|
protected java.util.Map<java.lang.Class, Service> |
servicesByInterface |
Constructor and description |
---|
DefaultServiceRegistry
(Datastore datastore, boolean exceptionOnLoadError = true) |
Type Params | Return Type | Name and description |
---|---|---|
<T extends Service> |
T |
getService(java.lang.Class<T> interfaceType) |
|
java.util.Collection<Service> |
getServices() |
|
void |
initialize() |
|
boolean |
isInitialized() |
|
protected boolean |
isValidInterface(java.lang.Class i) |
|
protected java.lang.Iterable<Service> |
loadServices() |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
The datastore this service relates to