public interface IServiceManager
Modifier and Type | Method and Description |
---|---|
Properties |
getConfiguration()
Get current configuration.
|
IServiceMonitor |
getMonitor(IService service)
Returns a monitor for a new service call.
|
IService |
getService(String name,
String group)
Create or get the service definition identified by group and name.
|
List<IService> |
getServices()
List all current services.
|
void |
setConfiguration(Properties configuration)
Inject configuration for service manager.
|
Properties getConfiguration()
IServiceMonitor getMonitor(IService service)
service
- IService getService(String name, String group)
name
- name of the service.group
- group of the service.List<IService> getServices()
Services are defined using #getService(String, String)
void setConfiguration(Properties configuration)
configuration
- Copyright © 2010–2016. All rights reserved.