Interface InjectAnnotationProcessorFactory2
-
@ConsumerType public interface InjectAnnotationProcessorFactory2
Factory forInjectAnnotationProcessor2
that is evaluated at runtime for each sling model adaption and may depend on the adaptable. UseStaticInjectAnnotationProcessorFactory
preferably.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InjectAnnotationProcessor2
createAnnotationProcessor(Object adaptable, AnnotatedElement element)
-
-
-
Method Detail
-
createAnnotationProcessor
InjectAnnotationProcessor2 createAnnotationProcessor(Object adaptable, AnnotatedElement element)
- Parameters:
adaptable
- the object from which this model is adaptedelement
- the field or method which is annotated- Returns:
- a ModelAnnotationProcessor in case there is a known injector-specific annotation on the given element found otherwise null
-
-