Package io.micronaut.context
Interface EnvironmentConfigurable
-
- All Known Implementing Classes:
AbstractBeanDefinition
,AbstractConstructorInjectionPoint
,AbstractExecutableMethod
,AbstractExecutableMethodsDefinition
,AbstractInitializableBeanDefinition
,AbstractParametrizedBeanDefinition
@Internal public interface EnvironmentConfigurable
Interface for components configurable by the environment.- Since:
- 1.0
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
configure(Environment environment)
Configure the component for the given environment.default boolean
hasPropertyExpressions()
-
-
-
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.
-
-