@ConsumerType
public interface InjectAnnotationProcessorFactory2
InjectAnnotationProcessor2
that is evaluated at runtime for each
sling model adaption and may depend on the adaptable.
Use StaticInjectAnnotationProcessorFactory
preferably.Modifier and Type | Method and Description |
---|---|
InjectAnnotationProcessor2 |
createAnnotationProcessor(java.lang.Object adaptable,
java.lang.reflect.AnnotatedElement element) |
InjectAnnotationProcessor2 createAnnotationProcessor(java.lang.Object adaptable, java.lang.reflect.AnnotatedElement element)
adaptable
- the object from which this model is adaptedelement
- the field or method which is annotatedCopyright © 2018 The Apache Software Foundation. All rights reserved.