public class ExecutionServiceContext
| Type Params | Return Type | Name and description |
|---|---|---|
<Type> |
public Type |
findService(Class<Type> serviceClass)Unlike getService(Class), returns null for an unregistered service instead of creating one. |
|
public Object |
findService(String name) |
|
public static ExecutionServiceContext |
getInstance() |
<Type> |
public Type |
getService(Class<Type> serviceClass) |
|
public void |
injectDependencies(Object target) |
<Type> |
public Type |
registerService(Class<Type> serviceClass) |
<Type, ImplementationType extends Type> |
public Type |
registerService(Class<Type> interfaceClass, Class<ImplementationType> implementationClass) |
<Type> |
public void |
registerService(Class<Type> interfaceClass, Type instance) |
|
public void |
registerService(String name, Object value) |
Unlike getService(Class), returns null for an unregistered service instead of creating one.