| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Service
A service is component managed by the Services singleton.
| Field Summary | |
|---|---|
static String | 
CONF_PREFIX
Prefix for all services configuration properties.  | 
static String | 
DEFAULT_LOCK_TIMEOUT
 | 
static long | 
lockTimeout
Lock timeout value if service is only allowed to have one single running instance.  | 
static String | 
USE_XCOMMAND
Constant for XCommand  | 
| Method Summary | |
|---|---|
 void | 
destroy()
Destroy the service.  | 
 Class<? extends Service> | 
getInterface()
Return the public interface of the service.  | 
 void | 
init(Services services)
Initialize the service.  | 
| Field Detail | 
|---|
static final String DEFAULT_LOCK_TIMEOUT
static final String CONF_PREFIX
static final String USE_XCOMMAND
static final long lockTimeout
| Method Detail | 
|---|
void init(Services services)
          throws ServiceException
Service singleton at start up time.
services - services singleton initializing the service.
ServiceException - thrown if the service could not initialize.void destroy()
Service singleton at shutdown time.
Class<? extends Service> getInterface()
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||