Module dev.orne.config
Package dev.orne.config.spring
Class SpringBootAutoConfigurer.FeaturesSelector
java.lang.Object
dev.orne.config.spring.SpringBootAutoConfigurer.FeaturesSelector
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.context.annotation.ImportSelector,org.springframework.context.EnvironmentAware
- Enclosing class:
- SpringBootAutoConfigurer
@API(status=INTERNAL,
since="1.0")
public static class SpringBootAutoConfigurer.FeaturesSelector
extends Object
implements org.springframework.context.annotation.ImportSelector, org.springframework.context.EnvironmentAware
Import selector for the features to enable based on environment
properties.
- Since:
- 1.0
- Version:
- 1.0, 2025-11
- Author:
- (w) Iker Hernaez
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]selectImports(org.springframework.core.type.AnnotationMetadata importingClassMetadata) voidsetEnvironment(@NotNull org.springframework.core.env.Environment environment) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.annotation.ImportSelector
getExclusionFilter
-
Constructor Details
-
FeaturesSelector
public FeaturesSelector()Creates a new instance.
-
-
Method Details
-
setEnvironment
public void setEnvironment(@NotNull @NotNull org.springframework.core.env.Environment environment) - Specified by:
setEnvironmentin interfaceorg.springframework.context.EnvironmentAware
-
selectImports
public String[] selectImports(org.springframework.core.type.AnnotationMetadata importingClassMetadata) - Specified by:
selectImportsin interfaceorg.springframework.context.annotation.ImportSelector
-