Class MasterDataCacheInitializer
- java.lang.Object
-
- io.mosip.authentication.common.service.cache.MasterDataCacheInitializer
-
- All Implemented Interfaces:
EventListener,org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationReadyEvent>
@Component public class MasterDataCacheInitializer extends Object implements org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationReadyEvent>
The Class MasterDataCacheInitializer.- Author:
- Loganathan Sekar
-
-
Constructor Summary
Constructors Constructor Description MasterDataCacheInitializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidloadMasterData()Load master data.voidonApplicationEvent(org.springframework.boot.context.event.ApplicationReadyEvent event)
-
-
-
Method Detail
-
loadMasterData
public void loadMasterData() throws IdAuthenticationBusinessExceptionLoad master data.- Throws:
IdAuthenticationBusinessException- the id authentication business exception
-
onApplicationEvent
public void onApplicationEvent(org.springframework.boot.context.event.ApplicationReadyEvent event)
- Specified by:
onApplicationEventin interfaceorg.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationReadyEvent>
-
-