Package org.springframework.modulith
Interface ApplicationModuleInitializer
public interface ApplicationModuleInitializer
An interface to be implemented by Spring components that are supposed to be initialized on
ApplicationStartedEvent
. They're ApplicationModule
specific as they're executed in the order
determined by the dependencies of a module. In other words, ApplicationModuleInitializer
of fundamental
application modules are executed first, followed by the ones that depend on it.- Author:
- Oliver Drotbohm
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Run business logic that's needed to initialize theApplicationModule
.
-
Method Details
-
initialize
void initialize()Run business logic that's needed to initialize theApplicationModule
.
-