Class ModuleEntityRegistration
java.lang.Object
com.foreach.across.modules.entity.registrars.ModuleEntityRegistration
Takes care of running all registered
EntityRegistrar
instances when a module has bootstrapped, and afterwards applying the EntityConfigurer
instances from the module.
A registrar automatically creates an EntityConfiguration, whereas an
EntityConfigurer
provides a builders that can be used to modify
existing configurations.- Author:
- Arne Vandamme
- See Also:
-
Constructor Summary
ConstructorDescriptionModuleEntityRegistration
(com.foreach.across.core.context.info.AcrossContextInfo contextInfo, MutableEntityRegistry entityRegistry, org.springframework.beans.factory.config.AutowireCapableBeanFactory beanFactory, com.foreach.across.core.context.info.AcrossModuleInfo currentModule) -
Method Summary
Modifier and TypeMethodDescriptionvoid
contextBootstrapped
(com.foreach.across.core.events.AcrossContextBootstrappedEvent contextBootstrappedEvent) void
moduleBootstrapped
(com.foreach.across.core.events.AcrossModuleBootstrappedEvent moduleBootstrappedEvent)
-
Constructor Details
-
ModuleEntityRegistration
public ModuleEntityRegistration(com.foreach.across.core.context.info.AcrossContextInfo contextInfo, MutableEntityRegistry entityRegistry, org.springframework.beans.factory.config.AutowireCapableBeanFactory beanFactory, com.foreach.across.core.context.info.AcrossModuleInfo currentModule)
-
-
Method Details
-
moduleBootstrapped
@EventListener public void moduleBootstrapped(com.foreach.across.core.events.AcrossModuleBootstrappedEvent moduleBootstrappedEvent) -
contextBootstrapped
@EventListener public void contextBootstrapped(com.foreach.across.core.events.AcrossContextBootstrappedEvent contextBootstrappedEvent)
-