|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServiceListener
A ServiceListener understands events that occur during the lifetime of a Service. These events include starting and stopping the service. These events also carry information about the Service's environment, such as the Nucleus running this Service, and the Configuration that created this Service.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Method Summary | |
---|---|
void |
startService(ServiceEvent pEvent)
Starts the service running. |
void |
stopService()
Stops the service. |
Field Detail |
---|
static final java.lang.String CLASS_VERSION
Method Detail |
---|
void startService(ServiceEvent pEvent) throws ServiceException
pEvent
- the ServiceEvent encapsulating information about
the Service's environment and configuration
ServiceException
- if an error occurred while attempting
to start the service.void stopService() throws ServiceException
ServiceException
- if an error occurred while attempting
to stop the service.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |