|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.data.hadoop.config.common.annotation.AbstractAnnotationBuilder<O>
O
- the type of Object that is being builtpublic abstract class AbstractAnnotationBuilder<O>
A base AnnotationBuilder
that ensures the object being built is only
built one time.
Constructor Summary | |
---|---|
AbstractAnnotationBuilder()
|
Method Summary | |
---|---|
O |
build()
Builds the object and returns it or null. |
protected abstract O |
doBuild()
Subclasses should implement this to perform the build. |
O |
getObject()
Gets the object that was built. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractAnnotationBuilder()
Method Detail |
---|
public final O build() throws java.lang.Exception
AnnotationBuilder
build
in interface AnnotationBuilder<O>
java.lang.Exception
- if an error occurred when building the Objectpublic final O getObject()
protected abstract O doBuild() throws java.lang.Exception
build()
.
java.lang.Exception
- if an error occurs
|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |