public interface Service
修飾子とタイプ | メソッドと説明 |
---|---|
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 © 2012. All Rights Reserved.