|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ApplicationService
This defines the basic interface for an application service. The lifecycle of a service is generally as follows:
Method Summary | |
---|---|
void |
initialize(java.util.Properties props)
Initialize the service with the specified properties. |
void |
start(ApplicationEnvironment environment)
Start the service with the specified environment. |
void |
stop()
Stop the service. |
Method Detail |
---|
void initialize(java.util.Properties props) throws ApplicationInitializationException
props
- Initialialization properties
ApplicationInitializationException
- If an error occurs during initializationvoid start(ApplicationEnvironment environment) throws ApplicationLifecycleException
environment
- Environment
ApplicationLifecycleException
- If an error occurs while startingvoid stop() throws ApplicationLifecycleException
ApplicationLifecycleException
- If an error occurs while starting
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |