Class I18nSpringConfigurationSelector

java.lang.Object
dev.orne.i18n.spring.I18nSpringConfigurationSelector
All Implemented Interfaces:
org.springframework.context.annotation.ImportSelector

@API(status=STABLE, since="0.1") @Configuration public class I18nSpringConfigurationSelector extends Object implements org.springframework.context.annotation.ImportSelector
Selector of Spring configuration based on presence of spring-web on the classpath.
Since:
0.1
Version:
1.0, 2023-05
Author:
(w) Iker Hernaez
  • Field Details

  • Constructor Details

    • I18nSpringConfigurationSelector

      public I18nSpringConfigurationSelector()
      Creates a new instance.
  • Method Details

    • selectImports

      public String[] selectImports(org.springframework.core.type.AnnotationMetadata importingClassMetadata)

      Loads I18nSpringWebContextCleaner if spring-web is on the classpth. I18nSpringBaseConfigurer otherwise. .

      Specified by:
      selectImports in interface org.springframework.context.annotation.ImportSelector