Interface EntityRegistrar
- All Known Implementing Classes:
RepositoryEntityRegistrar
public interface EntityRegistrar
Interface for automatic creating of EntityConfiguration.
- Author:
- Arne Vandamme
-
Method Summary
Modifier and TypeMethodDescriptionvoidregisterEntities(MutableEntityRegistry entityRegistry, com.foreach.across.core.context.info.AcrossModuleInfo moduleInfo, com.foreach.across.core.context.registry.AcrossContextBeanRegistry beanRegistry) Registers all entities from the given module.
-
Method Details
-
registerEntities
void registerEntities(MutableEntityRegistry entityRegistry, com.foreach.across.core.context.info.AcrossModuleInfo moduleInfo, com.foreach.across.core.context.registry.AcrossContextBeanRegistry beanRegistry) Registers all entities from the given module.- Parameters:
entityRegistry- Registry the entities should be added to.moduleInfo- Module that should be scanned.beanRegistry- Bean registry of the AcrossContext the module belongs to.
-