public interface BeanConfigurationRequest
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getBean()
Gets the bean to configure.
|
java.lang.ClassLoader |
getClassLoader()
Gets the class loader from which to load any types referenced by the configuration.
|
java.lang.Object |
getConfiguration()
Gets the configuration to unmarshal into the bean.
|
java.lang.String |
getConfigurationElement()
Returns configuration element name or
null. |
BeanConfigurationPathTranslator |
getPathTranslator()
Gets the optional path translator for configuration values unmarshalled to files.
|
BeanConfigurationValuePreprocessor |
getValuePreprocessor()
Gets the optional preprocessor for configuration values.
|
BeanConfigurationRequest |
setBean(java.lang.Object bean)
Sets the bean to configure.
|
BeanConfigurationRequest |
setClassLoader(java.lang.ClassLoader classLoader)
Sets the class loader from which to load any types referenced by the configuration.
|
BeanConfigurationRequest |
setConfiguration(java.lang.Object configuration)
Sets the configuration to unmarshal into the bean.
|
BeanConfigurationRequest |
setConfiguration(java.lang.Object configuration,
java.lang.String element)
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.
|
java.lang.Object getBean()
null if none.BeanConfigurationRequest setBean(java.lang.Object bean)
bean - The bean to configure, may be null.null.java.lang.Object getConfiguration()
null if none.BeanConfigurationRequest setConfiguration(java.lang.Object configuration)
ConfigurationContainer.getConfiguration() or a similar source.
Fully equivalent to setConfiguration(configuration, null).configuration - The configuration to unmarshal, may be null.null.BeanConfigurationRequest setConfiguration(java.lang.Object configuration, java.lang.String element)
ConfigurationContainer.getConfiguration() or a similar source.
If element is not null, child configuration element with the specified name will
be unmarshaled.configuration - The configuration to unmarshal, may be null.element - Configuration element name to unmarshal or null to unmarshal entire configuration.null.java.lang.String getConfigurationElement()
null.nullsetConfiguration(Object, String)java.lang.ClassLoader getClassLoader()
null if unset.BeanConfigurationRequest setClassLoader(java.lang.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.