Example usage for Java org.springframework.context SmartLifecycle fields, constructors, methods, implement or subclass
The text is from its open source code.
int | getPhase() Return the phase that this lifecycle object is supposed to run in. |
boolean | isAutoStartup() Returns true if this Lifecycle component should get started automatically by the container at the time that the containing ApplicationContext gets refreshed. |
void | start() Start this component. |
void | stop() Stop this component, typically in a synchronous fashion, such that the component is fully stopped upon return of this method. |