public interface Service
MXServer configures all services and then initializes them. Both "system" Services, e.g. the DataDictionary and Application Services implement this interface. The goal is to have a standard interface for the MXServer to start and stop it's component "Services".
MXServer
,
ServiceCoordinator
Modifier and Type | Method and Description |
---|---|
void |
configure(java.util.Properties configData)
Configuration information is presented in a Property object.
|
void |
destroy()
Release system resources.
|
java.lang.String |
getName()
Get's the name of the Service.
|
java.lang.String |
getURL() |
void |
init()
Initialization should take place.
|
boolean |
isAppService() |
boolean |
isSingletonService()
Is used to setup singleton services, i.e.
|
void |
setURL(java.lang.String url) |
void configure(java.util.Properties configData)
void init() throws java.lang.Exception
java.lang.Exception
void destroy()
java.lang.String getName()
java.lang.String getURL()
boolean isAppService()
void setURL(java.lang.String url)
boolean isSingletonService()