public class AdminService extends Object implements BackgroundService, ApplicationLifecycleListener
Constructor and Description |
---|
AdminService() |
Modifier and Type | Method and Description |
---|---|
void |
onStart()
Starts the background service.
|
void |
onStop()
Stops the background service.
|
void |
stateChanged(Application application)
Called whenever an application has changed in the observed applications manager.
|
public void onStart()
BackgroundService
onStart
in interface BackgroundService
public void onStop()
BackgroundService
All resources must have been released when this method returns.
onStop
in interface BackgroundService
public void stateChanged(Application application)
ApplicationLifecycleListener
stateChanged
in interface ApplicationLifecycleListener
application
- the application that has changed.