Class EntityRegistryConfigurer
java.lang.Object
com.foreach.across.modules.entity.config.builders.EntityRegistryConfigurer
Class for applying a set of
EntityConfigurer
instances to an EntityRegistry
.
Allows specifying the AutowireCapableBeanFactory
that should be used per configurer.
All configurers will be applied in adding order.- Since:
- 4.0.0
- Author:
- Arne Vandamme
- See Also:
-
Constructor Summary
ConstructorDescriptionEntityRegistryConfigurer
(org.springframework.beans.factory.config.AutowireCapableBeanFactory beanFactory) -
Method Summary
Modifier and TypeMethodDescriptionadd
(@NonNull EntityConfigurer configurer) Add a configurer that should be applied.applyTo
(MutableEntityRegistry entityRegistry) Applies the set of configurers to the registry passed in.
-
Constructor Details
-
EntityRegistryConfigurer
public EntityRegistryConfigurer(org.springframework.beans.factory.config.AutowireCapableBeanFactory beanFactory)
-
-
Method Details
-
add
Add a configurer that should be applied.- Parameters:
configurer
- to apply- Returns:
- current configurer
-
applyTo
Applies the set of configurers to the registry passed in.- Parameters:
entityRegistry
- to apply the configurers to- Returns:
- current configurer
-