public class InProcessServiceManager extends Object implements IServiceManager
Data are lost when restarting the application.
Reads the following configuration :
| Constructor and Description |
|---|
InProcessServiceManager() |
| 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.
|
public IServiceMonitor getMonitor(IService service)
getMonitor in interface IServiceManagerpublic List<IService> getServices()
Services are defined using #getService(String, String)
getServices in interface IServiceManagerpublic IService getService(String name, String group)
getService in interface IServiceManagername - name of the service.group - group of the service.public void setConfiguration(Properties configuration)
setConfiguration in interface IServiceManagerpublic Properties getConfiguration()
IServiceManagergetConfiguration in interface IServiceManagerCopyright © 2010–2016. All rights reserved.