@groovy.transform.CompileStatic class GraphQLServiceManager extends java.lang.Object
Used to store references to the actual implementations of most of the interfaces used in the project to make it easier to pass multiple managers (services) to methods.
Modifiers | Name | Description |
---|---|---|
protected java.util.Map<java.lang.Class, java.lang.Object> |
services |
Constructor and description |
---|
GraphQLServiceManager
() |
Type Params | Return Type | Name and description |
---|---|---|
<T extends Object> |
T |
getService(java.lang.Class<T> serviceType) |
|
void |
registerService(java.lang.Class clazz, java.lang.Object service) |
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() |