Package net.solarnetwork.service
Interface ServiceLifecycleObserver
public interface ServiceLifecycleObserver
API for services that wish to be made aware of lifecycle changes.
- Since:
- 1.57
- Version:
- 1.0
- Author:
- matt
-
Method Summary
Modifier and TypeMethodDescriptionvoidCalled to inform the receiver that the service has been stopped.voidCalled to inform the receiver that the service has been started.
-
Method Details
-
serviceDidStartup
void serviceDidStartup()Called to inform the receiver that the service has been started. -
serviceDidShutdown
void serviceDidShutdown()Called to inform the receiver that the service has been stopped.
-