|
||||||||||
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. |
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 CONF_PREFIX
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 |