public interface ServiceLocator
| Modifier and Type | Method and Description |
|---|---|
EntityModelFactory |
getEntityModelFactory()
Retrieves the entity model factory from the context
|
MessageService |
getMessageService()
Retrieves the message service from the context
|
<T> T |
getService(Class<T> clazz)
Retrieves a service of a certain type
|
BaseService<?,?> |
getServiceForEntity(Class<?> entityClass)
Returns a service that is used to manage a certain type of entity
|
<T> Collection<T> |
getServices(Class<T> clazz) |
<T> T getService(Class<T> clazz)
clazz - the class of the service<T> Collection<T> getServices(Class<T> clazz)
clazz - MessageService getMessageService()
EntityModelFactory getEntityModelFactory()
BaseService<?,?> getServiceForEntity(Class<?> entityClass)
entityClass - the entity classCopyright © 2019 Open Circle Solutions. All rights reserved.