Package org.apache.maven.configuration
Interface BeanConfigurator
- All Known Implementing Classes:
DefaultBeanConfigurator
public interface BeanConfigurator
Unmarshals some textual configuration from the POM or similar into the properties of a bean. This component works
similar to the way Maven configures plugins from the POM, i.e. some configuration like
<param>value</param>
is mapped to an equally named property of the bean and converted. The properties of the bean are supposed to either
have a public setter or be backed by an equally named field (of any visibility).- Since:
- 3.0
- Author:
- Benjamin Bentmann
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configureBean
(BeanConfigurationRequest request) Performs the specified bean configuration.
-
Method Details
-
configureBean
Performs the specified bean configuration.- Parameters:
request
- The configuration request that specifies the bean and the configuration to process, must not benull
.- Throws:
BeanConfigurationException
- If the bean configuration could not be successfully processed.
-