Package io.micronaut.context
Interface EnvironmentConfigurable
- All Known Implementing Classes:
AbstractExecutableMethod
,AbstractExecutableMethodsDefinition
,AbstractInitializableBeanDefinition
,AbstractInitializableBeanDefinitionAndReference
Interface for components configurable by the environment.
- Since:
- 1.0
- Author:
- Graeme Rocher
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
configure
(Environment environment) Configure the component for the given environment.default boolean
-
Method Details
-
configure
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.
-