@ConsumerType
public interface StaticInjectAnnotationProcessorFactory
InjectAnnotationProcessor
that is evaluated once
a sling model implementation class is registered.
Whenever possible this interface should be favored above InjectAnnotationProcessorFactory2
.Modifier and Type | Method and Description |
---|---|
InjectAnnotationProcessor2 |
createAnnotationProcessor(AnnotatedElement element) |
InjectAnnotationProcessor2 createAnnotationProcessor(AnnotatedElement element)
element
- the field or method which is annotatedCopyright © 2017 The Apache Software Foundation. All rights reserved.