Package io.micronaut.context
Interface EnvironmentConfigurable
-
- All Known Implementing Classes:
AbstractBeanDefinition,AbstractConstructorInjectionPoint,AbstractExecutableMethod,AbstractExecutableMethodsDefinition,AbstractInitializableBeanDefinition,AbstractParametrizedBeanDefinition
@Internal public interface EnvironmentConfigurableInterface for components configurable by the environment.- Since:
- 1.0
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voidconfigure(Environment environment)Configure the component for the given environment.default booleanhasPropertyExpressions()
-
-
-
Method Detail
-
configure
default void configure(Environment environment)
Configure the component for the given environment.- Parameters:
environment- The environment
-
hasPropertyExpressions
default boolean hasPropertyExpressions()
- Returns:
- Whether any environment specific property expressions exist in the object.
-
-