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 Details

  • Constructor Details

    • ModuleSettingsRegistrar

      public ModuleSettingsRegistrar()
  • Method Details

    • setEnvironment

      public void setEnvironment(org.springframework.core.env.Environment environment)
      Specified by:
      setEnvironment in interface org.springframework.context.EnvironmentAware
    • setBeanFactory

      public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException
      Specified by:
      setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAware
      Throws:
      org.springframework.beans.BeansException
    • selectImports

      public final String[] selectImports(org.springframework.core.type.AnnotationMetadata importingClassMetadata)
      Specified by:
      selectImports in interface org.springframework.context.annotation.ImportSelector
    • settingsDependantImports

      protected String[] settingsDependantImports()