|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Service is an independent module that has a name and a set of configuration options.
Method Summary | |
java.lang.String |
getName()
Return the name of this service. |
ServiceManager |
getServiceManager()
Get the service manager for this service. |
void |
handleDispatchUnit(DispatchUnit dunit)
Handle the data unit delivered by dispatch service. |
boolean |
hasInited()
Return whether the service has been initialized. |
void |
init()
Initiate the service, do not try to init dependent services here. |
void |
initDependents()
Initialize dependent services here. |
void |
setName(java.lang.String name)
Set the name of this service. |
void |
setServiceManager(ServiceManager manager)
Set the service manager for this service. |
void |
start()
Start the service. |
void |
stop()
Shutdown the service. |
Methods inherited from interface solar.api.EventHandler |
handleEvent |
Methods inherited from interface solar.api.RequestHandler |
handleRequest |
Method Detail |
public void handleDispatchUnit(DispatchUnit dunit) throws java.lang.Exception
java.lang.Exception
public void setServiceManager(ServiceManager manager)
public ServiceManager getServiceManager()
public void setName(java.lang.String name)
public java.lang.String getName()
public void init() throws ServiceException
ServiceException
public void initDependents() throws ServiceException
ServiceException
public boolean hasInited()
public void start()
public void stop()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |