Class MoneyHelperStartupInitializationService
java.lang.Object
org.apache.fineract.infrastructure.configuration.service.MoneyHelperStartupInitializationService
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
@Service
@DependsOn({"tenantDetailsService","moneyHelperInitializationService","tenantDatabaseUpgradeService"})
public class MoneyHelperStartupInitializationService
extends Object
implements org.springframework.beans.factory.InitializingBean
Service to initialize MoneyHelper for all tenants during application startup. This service runs after the application
is fully started to ensure all database migrations and tenant configurations are complete.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidInitialize MoneyHelper for all tenants after the application is ready.
-
Constructor Details
-
MoneyHelperStartupInitializationService
public MoneyHelperStartupInitializationService()
-
-
Method Details
-
afterPropertiesSet
Initialize MoneyHelper for all tenants after the application is ready. This method runs after ApplicationReadyEvent to ensure all database migrations and tenant configurations are complete. If it fails (for any reason), it will fail the application startup!- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-