@Component public class ConsoleService extends Object implements RemoteService
| Constructor and Description |
|---|
ConsoleService() |
| Modifier and Type | Method and Description |
|---|---|
ServiceInformation |
getServiceInformation()
Provides servicing information that can be used by remote endpoints
to connect to this remote service.
|
void |
init() |
boolean |
isEnabled()
Returns wether this remote service is enabled
|
void |
startService()
Called during kernel startup, can be used to initialize any servicing components
|
void |
stopService()
Called during kernel shutdown, can be used to cleanup used resources
|
@PostConstruct public void init() throws ConfigurationException
ConfigurationExceptionpublic boolean isEnabled()
RemoteServiceisEnabled in interface RemoteServicepublic void startService()
throws JasDBException
RemoteServicestartService in interface RemoteServiceServiceException - If unable to start the remote serviceJasDBExceptionpublic void stopService()
throws JasDBException
RemoteServicestopService in interface RemoteServiceServiceException - If unable to cleanly stop the remote serviceJasDBExceptionpublic ServiceInformation getServiceInformation()
RemoteServicegetServiceInformation in interface RemoteServiceCopyright © 2015. All rights reserved.