|
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.DefaultResourceConfigurer<O,I,B>
O - The Object being built by BB - The Builder that is building O and is configured by AnnotationConfigurerAdapterI - The type of an interface of Bpublic class DefaultResourceConfigurer<O,I,B extends AnnotationBuilder<O>>
AnnotationConfigurer which knows how to handle
configuring a Resources.
| Constructor Summary | |
|---|---|
DefaultResourceConfigurer()
|
|
| Method Summary | |
|---|---|
void |
configure(B builder)
Configure the AnnotationBuilder by setting the necessary properties
on the AnnotationBuilder. |
protected boolean |
configureResources(B builder,
java.util.Set<org.springframework.core.io.Resource> resources)
Configure resources. |
java.util.Set<org.springframework.core.io.Resource> |
getResources()
Gets the Resources configured for this builder. |
ResourceConfigurer<I> |
resource(org.springframework.core.io.Resource resource)
Adds a Resource to this builder. |
ResourceConfigurer<I> |
resource(java.util.Set<org.springframework.core.io.Resource> resources)
Adds a Set of Resources to this builder. |
ResourceConfigurer<I> |
resource(java.lang.String resource)
Adds a Resource 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 DefaultResourceConfigurer()
| Method Detail |
|---|
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 occurredpublic ResourceConfigurer<I> resource(java.util.Set<org.springframework.core.io.Resource> resources)
Set of Resources to this builder.
resource in interface ResourceConfigurer<I>resources - the resources
ResourceConfigurer for chainingpublic ResourceConfigurer<I> resource(org.springframework.core.io.Resource resource)
Resource to this builder.
resource in interface ResourceConfigurer<I>resource - the resource
ResourceConfigurer for chainingpublic ResourceConfigurer<I> resource(java.lang.String resource)
Resource to this builder.
resource in interface ResourceConfigurer<I>resource - the resource
ResourceConfigurer for chainingpublic java.util.Set<org.springframework.core.io.Resource> getResources()
Resources configured for this builder.
protected boolean configureResources(B builder,
java.util.Set<org.springframework.core.io.Resource> resources)
builder - the builderresources - the resources
|
Spring for Apache Hadoop | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||