Package com.groiss.component
Interface Lifecycle
- All Known Subinterfaces:
ApplicationAdapter
,Service
- All Known Implementing Classes:
DBConnPool
,DefaultApplicationAdapter
,ServiceAdapter
,Settings
,TimerManager
public interface Lifecycle
Provides a consistent mechanism to start and stop components.
-
Method Summary
-
Method Details
-
startup
default void startup()This method is called when the object is "started". -
shutdown
default void shutdown()This method is called on shutdown.
-