public class AnnotationBuilder
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
AnnotationBuilder.InstantiationFailed |
Constructor and Description |
---|
AnnotationBuilder(java.lang.Class<?> annotatedClass) |
AnnotationBuilder(java.lang.Class<?> annotatedClass,
AnnotationMonitor annotationMonitor) |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<?> |
annotatedClass() |
protected AnnotationFinder |
annotationFinder() |
protected AnnotationMonitor |
annotationMonitor() |
java.util.List<CandidateSteps> |
buildCandidateSteps()
Builds CandidateSteps using annotation
UsingSteps found in the
annotated object instance and using the configuration build by
buildConfiguration() |
java.util.List<CandidateSteps> |
buildCandidateSteps(Configuration configuration)
Builds CandidateSteps using annotation
UsingSteps found in the
annotated object instance and the configuration provided |
Configuration |
buildConfiguration()
Builds a Configuration instance based on annotation
Configure
found in the annotated object instance |
Embedder |
buildEmbedder() |
InjectableStepsFactory |
buildStepsFactory(Configuration configuration)
Builds the
InjectableStepsFactory using annotation
UsingSteps found in the annotated object instance and the
configuration provided |
java.lang.Object |
embeddableInstance() |
java.util.List<java.lang.String> |
findPaths() |
protected java.lang.Object |
injectEmbedder(Embedder embedder,
java.lang.Class<?> annotatedClass) |
protected <T,V extends T> |
instanceOf(java.lang.Class<T> type,
java.lang.Class<V> ofClass) |
protected ParameterConverters |
parameterConverters(AnnotationFinder annotationFinder) |
public AnnotationBuilder(java.lang.Class<?> annotatedClass)
public AnnotationBuilder(java.lang.Class<?> annotatedClass, AnnotationMonitor annotationMonitor)
public java.lang.Class<?> annotatedClass()
public Configuration buildConfiguration() throws AnnotationRequired
Configure
found in the annotated object instanceAnnotationRequired
public java.util.List<CandidateSteps> buildCandidateSteps()
UsingSteps
found in the
annotated object instance and using the configuration build by
buildConfiguration()
public java.util.List<CandidateSteps> buildCandidateSteps(Configuration configuration)
UsingSteps
found in the
annotated object instance and the configuration providedconfiguration
- the Configurationpublic InjectableStepsFactory buildStepsFactory(Configuration configuration)
InjectableStepsFactory
using annotation
UsingSteps
found in the annotated object instance and the
configuration providedconfiguration
- the ConfigurationInjectableStepsFactory
public Embedder buildEmbedder()
public java.util.List<java.lang.String> findPaths()
protected ParameterConverters parameterConverters(AnnotationFinder annotationFinder)
protected <T,V extends T> T instanceOf(java.lang.Class<T> type, java.lang.Class<V> ofClass)
protected AnnotationMonitor annotationMonitor()
protected AnnotationFinder annotationFinder()
public java.lang.Object embeddableInstance()
protected java.lang.Object injectEmbedder(Embedder embedder, java.lang.Class<?> annotatedClass)
Copyright © 2003-2014. All Rights Reserved.