public interface Service
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Destroys a service, freeing any resources it may currently be using.
|
String |
getId()
Gets the ID of this service.
|
void |
initialize()
Initializes this service.
|
boolean |
isDestroyed()
Gets whether the service has been destroyed.
|
boolean |
isInitialized()
Gets whether the service is initialized and ready for use.
|
String getId()
boolean isInitialized()
void initialize() throws ServiceException
ServiceException
- thrown if there is a problem initializing the serviceboolean isDestroyed()
void destroy() throws ServiceException
ServiceException
- thrown if there is a problem destroying the serviceCopyright © 1999–2014. All rights reserved.