@Service @Singleton public class RestService extends Object implements RemoteService
| Constructor and Description | 
|---|
| RestService() | 
| 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 | 
public RestService()
            throws ConfigurationException
ConfigurationException@PostConstruct public void init() throws ConfigurationException
ConfigurationExceptionpublic boolean isEnabled()
RemoteServiceisEnabled in interface RemoteServicepublic ServiceInformation getServiceInformation()
RemoteServicegetServiceInformation in interface RemoteServicepublic void startService()
                  throws JasDBException
RemoteServicestartService in interface RemoteServiceServiceException - If unable to start the remote serviceJasDBExceptionpublic void stopService()
                 throws ServiceException
RemoteServicestopService in interface RemoteServiceServiceException - If unable to cleanly stop the remote serviceCopyright © 2015. All rights reserved.