public class AnnotationBuilder extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AnnotationBuilder.InstantiationFailed |
Constructor and Description |
---|
AnnotationBuilder(Class<?> annotatedClass) |
AnnotationBuilder(Class<?> annotatedClass,
AnnotationMonitor annotationMonitor) |
Modifier and Type | Method and Description |
---|---|
Class<?> |
annotatedClass() |
protected AnnotationFinder |
annotationFinder() |
protected AnnotationMonitor |
annotationMonitor() |
List<CandidateSteps> |
buildCandidateSteps()
Builds CandidateSteps using annotation
UsingSteps found in the
annotated object instance and using the configuration build by
buildConfiguration() |
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 |
protected Embedder |
defaultEmbedder() |
protected <T> Class<T> |
elementImplementation(AnnotationFinder finder,
String name) |
Object |
embeddableInstance() |
protected Embedder |
embedder() |
AnnotationFinder |
finder() |
List<String> |
findPaths() |
protected Object |
injectEmbedder(Embedder embedder,
Class<?> annotatedClass) |
protected <T,V extends T> |
instanceOf(Class<T> type,
Class<V> ofClass) |
protected ParameterConverters |
parameterConverters(AnnotationFinder annotationFinder) |
public AnnotationBuilder(Class<?> annotatedClass)
public AnnotationBuilder(Class<?> annotatedClass, AnnotationMonitor annotationMonitor)
public Class<?> annotatedClass()
public Configuration buildConfiguration() throws AnnotationRequired
Configure
found in the annotated object instanceAnnotationRequired
public List<CandidateSteps> buildCandidateSteps()
UsingSteps
found in the
annotated object instance and using the configuration build by
buildConfiguration()
public 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()
protected Embedder embedder()
protected Embedder defaultEmbedder()
public AnnotationFinder finder()
protected <T> Class<T> elementImplementation(AnnotationFinder finder, String name)
protected ParameterConverters parameterConverters(AnnotationFinder annotationFinder)
protected AnnotationMonitor annotationMonitor()
protected AnnotationFinder annotationFinder()
public Object embeddableInstance()
Copyright © 2003–2016. All rights reserved.