|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
O
- The object being built by the AnnotationBuilder
BB
- The AnnotationBuilder
that builds objects of type O. This is
also the AnnotationBuilder
that is being configured.public interface AnnotationConfigurer<O,B extends AnnotationBuilder<O>>
Allows for configuring an AnnotationBuilder
. All
AnnotationConfigurer
s first have their init(AnnotationBuilder)
method invoked. After all init(AnnotationBuilder)
methods have been
invoked, each configure(AnnotationBuilder)
method is invoked.
AbstractConfiguredAnnotationBuilder
Method Summary | |
---|---|
void |
configure(B builder)
Configure the AnnotationBuilder by setting the necessary properties
on the AnnotationBuilder . |
void |
init(B builder)
Initialise the AnnotationBuilder . |
boolean |
isAssignable(AnnotationBuilder<O> builder)
|
Method Detail |
---|
void init(B builder) throws java.lang.Exception
AnnotationBuilder
. Here only shared state should be
created and modified, but not properties on the AnnotationBuilder
used for building the object. This ensures that the
configure(AnnotationBuilder)
method uses the correct shared
objects when building.
builder
- the builder
java.lang.Exception
- if error occurredvoid configure(B builder) throws java.lang.Exception
AnnotationBuilder
by setting the necessary properties
on the AnnotationBuilder
.
builder
- the builder
java.lang.Exception
- if error occurredboolean isAssignable(AnnotationBuilder<O> builder)
|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |