O - The Object being built by BI - The type of interface or builder itself returned by the configurerB - The Builder that is building O and is configured by AnnotationConfigurerAdapterpublic class DefaultPropertiesConfigurer<O,I,B extends AnnotationBuilder<O>> extends AnnotationConfigurerAdapter<O,I,B> implements PropertiesConfigurer<I>
AnnotationConfigurer
which knows how to handle configuring a Properties.| Constructor and Description |
|---|
DefaultPropertiesConfigurer() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(B builder)
Configure the
AnnotationBuilder by setting the necessary properties
on the AnnotationBuilder. |
protected boolean |
configureProperties(B builder,
java.util.Properties properties)
Configure properties.
|
java.util.Properties |
getProperties()
Gets the
Properties configured for this builder. |
PropertiesConfigurer<I> |
properties(java.util.Properties properties)
Adds a
Properties to this builder. |
PropertiesConfigurer<I> |
property(java.lang.String key,
java.lang.String value)
Adds a property to this builder.
|
addObjectPostProcessor, and, getBuilder, init, isAssignable, setBuilderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitandpublic PropertiesConfigurer<I> properties(java.util.Properties properties)
Properties to this builder.properties in interface PropertiesConfigurer<I>properties - the propertiesPropertiesConfigurer for chainingpublic PropertiesConfigurer<I> property(java.lang.String key, java.lang.String value)
property in interface PropertiesConfigurer<I>key - the keyvalue - the valuePropertiesConfigurer for chainingpublic java.util.Properties getProperties()
Properties configured for this builder.public void configure(B builder) throws java.lang.Exception
AnnotationConfigurerAnnotationBuilder by setting the necessary properties
on the AnnotationBuilder.configure in interface AnnotationConfigurer<O,B extends AnnotationBuilder<O>>configure in class AnnotationConfigurerAdapter<O,I,B extends AnnotationBuilder<O>>builder - the builderjava.lang.Exception - if error occurredprotected boolean configureProperties(B builder, java.util.Properties properties)
builder - the builderproperties - the properties