public class SpringAnnotationBuilder
extends AnnotationBuilder
AnnotationBuilder to provide Spring-based dependency
injection if UsingSpring annotation is present.| Constructor and Description |
|---|
SpringAnnotationBuilder(Class<?> annotatedClass) |
SpringAnnotationBuilder(Class<?> annotatedClass,
AnnotationMonitor annotationMonitor) |
| Modifier and Type | Method and Description |
|---|---|
protected ApplicationContext |
applicationContext() |
Configuration |
buildConfiguration() |
InjectableStepsFactory |
buildStepsFactory(Configuration configuration) |
protected ApplicationContext |
createApplicationContext(ClassLoader classLoader,
List<String> resources) |
protected <T,V extends T> |
instanceOf(Class<T> type,
Class<V> ofClass) |
protected ParameterConverters |
parameterConverters(AnnotationFinder annotationFinder,
ResourceLoader resourceLoader,
TableTransformers tableTransformers) |
public SpringAnnotationBuilder(Class<?> annotatedClass)
public SpringAnnotationBuilder(Class<?> annotatedClass, AnnotationMonitor annotationMonitor)
public Configuration buildConfiguration()
throws AnnotationRequired
AnnotationRequiredpublic InjectableStepsFactory buildStepsFactory(Configuration configuration)
protected ParameterConverters parameterConverters(AnnotationFinder annotationFinder,
ResourceLoader resourceLoader,
TableTransformers tableTransformers)
protected ApplicationContext createApplicationContext(ClassLoader classLoader, List<String> resources)
protected ApplicationContext applicationContext()
Copyright © 2003–2019. All rights reserved.