@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(Object adaptable,
AnnotatedElement element) |
InjectAnnotationProcessor2 createAnnotationProcessor(Object adaptable, AnnotatedElement element)
adaptable
- the object from which this model is adaptedelement
- the field or method which is annotatedCopyright © 2017 The Apache Software Foundation. All rights reserved.