Interface LifecycleProcessor
- All Superinterfaces:
Lifecycle
- All Known Implementing Classes:
DefaultLifecycleProcessor
Strategy interface for processing Lifecycle beans within the ApplicationContext.
- Since:
- 3.0
- Author:
- Mark Fisher, Juergen Hoeller
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
onClose()
Notification of context close phase for auto-stopping components before destruction.default void
Notification of context refresh for auto-starting components.default void
Notification of context restart for auto-stopping and subsequently auto-starting components.
-
Method Details
-
onRefresh
default void onRefresh()Notification of context refresh for auto-starting components.- See Also:
-
onRestart
default void onRestart()Notification of context restart for auto-stopping and subsequently auto-starting components.- Since:
- 7.0
- See Also:
-
onClose
default void onClose()Notification of context close phase for auto-stopping components before destruction.- See Also:
-