|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BeanConfigurationRequest
A request to configure a bean from some configuration in the POM or similar.
Method Summary | |
---|---|
Object |
getBean()
Gets the bean to configure. |
ClassLoader |
getClassLoader()
Gets the class loader from which to load any types referenced by the configuration. |
Object |
getConfiguration()
Gets the configuration to unmarshal into the bean. |
BeanConfigurationPathTranslator |
getPathTranslator()
Gets the optional path translator for configuration values unmarshalled to files. |
BeanConfigurationValuePreprocessor |
getValuePreprocessor()
Gets the optional preprocessor for configuration values. |
BeanConfigurationRequest |
setBean(Object bean)
Sets the bean to configure. |
BeanConfigurationRequest |
setClassLoader(ClassLoader classLoader)
Sets the class loader from which to load any types referenced by the configuration. |
BeanConfigurationRequest |
setConfiguration(Object configuration)
Sets the configuration to unmarshal into the bean. |
BeanConfigurationRequest |
setPathTranslator(BeanConfigurationPathTranslator pathTranslator)
Sets the optional path translator for configuration values unmarshalled to files. |
BeanConfigurationRequest |
setValuePreprocessor(BeanConfigurationValuePreprocessor valuePreprocessor)
Sets the optional preprocessor for configuration values. |
Method Detail |
---|
Object getBean()
null
if none.BeanConfigurationRequest setBean(Object bean)
bean
- The bean to configure, may be null
.
null
.Object getConfiguration()
null
if none.BeanConfigurationRequest setConfiguration(Object configuration)
ConfigurationContainer.getConfiguration()
or a similar source.
configuration
- The configuration to unmarshal, may be null
.
null
.ClassLoader getClassLoader()
null
if unset.BeanConfigurationRequest setClassLoader(ClassLoader classLoader)
classLoader
- The class loader to load referenced types from, may be null
.
null
.BeanConfigurationValuePreprocessor getValuePreprocessor()
null
if none.BeanConfigurationRequest setValuePreprocessor(BeanConfigurationValuePreprocessor valuePreprocessor)
valuePreprocessor
- The preprocessor for configuration values, may be null
if unneeded.
null
.BeanConfigurationPathTranslator getPathTranslator()
null
if none.BeanConfigurationRequest setPathTranslator(BeanConfigurationPathTranslator pathTranslator)
pathTranslator
- The path translator for files, may be null
if unneeded.
null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |