|
Spring for Apache Hadoop | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.data.hadoop.config.common.annotation.AnnotationConfigurerAdapter<O,I,B>
org.springframework.data.hadoop.config.common.annotation.configurers.DefaultPropertiesConfigurer<O,I,B>
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>>
AnnotationConfigurer
which knows how to handle configuring a Properties.
| Constructor Summary | |
|---|---|
DefaultPropertiesConfigurer()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.springframework.data.hadoop.config.common.annotation.AnnotationConfigurerAdapter |
|---|
addObjectPostProcessor, and, getBuilder, init, isAssignable, setBuilder |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.springframework.data.hadoop.config.common.annotation.AnnotationConfigurerBuilder |
|---|
and |
| Constructor Detail |
|---|
public DefaultPropertiesConfigurer()
| Method Detail |
|---|
public PropertiesConfigurer<I> properties(java.util.Properties properties)
Properties to this builder.
properties in interface PropertiesConfigurer<I>properties - the properties
PropertiesConfigurer for chaining
public PropertiesConfigurer<I> property(java.lang.String key,
java.lang.String value)
property in interface PropertiesConfigurer<I>key - the keyvalue - the value
PropertiesConfigurer 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 builder
java.lang.Exception - if error occurred
protected boolean configureProperties(B builder,
java.util.Properties properties)
builder - the builderproperties - the properties
|
Spring for Apache Hadoop | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||