Class AcrossDynamicModulesConfiguration

java.lang.Object
com.foreach.across.config.AcrossDynamicModulesConfigurer
com.foreach.across.config.AcrossDynamicModulesConfiguration
All Implemented Interfaces:
AcrossContextConfigurer, org.springframework.beans.factory.Aware, org.springframework.context.annotation.ImportAware, org.springframework.context.ApplicationContextAware

@Configuration public class AcrossDynamicModulesConfiguration extends AcrossDynamicModulesConfigurer implements org.springframework.context.annotation.ImportAware, org.springframework.context.ApplicationContextAware
Configuration that automatically adds a AcrossDynamicModulesConfigurer that uses the importing class as a base for the dynamic modules. And uses the shared MetadataReaderFactory if it is available (bean named SharedMetadataReaderFactory.BEAN_NAME).
Since:
1.1.2
Author:
Arne Vandamme
See Also:
  • Constructor Details

    • AcrossDynamicModulesConfiguration

      public AcrossDynamicModulesConfiguration()
  • Method Details

    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware
      Throws:
      org.springframework.beans.BeansException
    • setImportMetadata

      public void setImportMetadata(org.springframework.core.type.AnnotationMetadata importMetadata)
      Specified by:
      setImportMetadata in interface org.springframework.context.annotation.ImportAware
    • verifyNoConflictingComponentScans

      public static void verifyNoConflictingComponentScans(org.springframework.core.type.AnnotationMetadata importMetadata, String basePackage)