Class ModuleSettingsRegistrar
java.lang.Object
com.foreach.across.modules.hibernate.config.ModuleSettingsRegistrar
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanFactoryAware
,org.springframework.context.annotation.ImportSelector
,org.springframework.context.EnvironmentAware
- Direct Known Subclasses:
JpaModuleSettingsRegistrar
@Order(-2147483648)
public class ModuleSettingsRegistrar
extends Object
implements org.springframework.context.annotation.ImportSelector, org.springframework.beans.factory.BeanFactoryAware, org.springframework.context.EnvironmentAware
Creates the
AcrossHibernateModuleSettings
as early as possible,
and registers it as a singleton named moduleSettings in the BeanFactory
.- Since:
- 3.0.0
- Author:
- Arne Vandamme
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal String[]
selectImports
(org.springframework.core.type.AnnotationMetadata importingClassMetadata) void
setBeanFactory
(org.springframework.beans.factory.BeanFactory beanFactory) void
setEnvironment
(org.springframework.core.env.Environment environment) protected String[]
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.context.annotation.ImportSelector
getExclusionFilter
-
Field Details
-
BEAN_NAME
- See Also:
-
-
Constructor Details
-
ModuleSettingsRegistrar
public ModuleSettingsRegistrar()
-
-
Method Details
-
setEnvironment
public void setEnvironment(org.springframework.core.env.Environment environment) - Specified by:
setEnvironment
in interfaceorg.springframework.context.EnvironmentAware
-
setBeanFactory
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException - Specified by:
setBeanFactory
in interfaceorg.springframework.beans.factory.BeanFactoryAware
- Throws:
org.springframework.beans.BeansException
-
selectImports
public final String[] selectImports(org.springframework.core.type.AnnotationMetadata importingClassMetadata) - Specified by:
selectImports
in interfaceorg.springframework.context.annotation.ImportSelector
-
settingsDependantImports
-