Interface InjectAnnotationProcessorFactory
-
@Deprecated @ConsumerType public interface InjectAnnotationProcessorFactory
Deprecated.UseStaticInjectAnnotationProcessorFactory
preferably or in case of a dependency to the adaptableInjectAnnotationProcessorFactory2
Factory forInjectAnnotationProcessor
that is evaluated at runtime for each sling model adaption and may depend on the adaptable.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description InjectAnnotationProcessor
createAnnotationProcessor(java.lang.Object adaptable, java.lang.reflect.AnnotatedElement element)
Deprecated.
-
-
-
Method Detail
-
createAnnotationProcessor
InjectAnnotationProcessor createAnnotationProcessor(java.lang.Object adaptable, java.lang.reflect.AnnotatedElement element)
Deprecated.- 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. This method should return a
InjectAnnotationProcessor2
preferably.
-
-