Interface ClassInjectionInterrogatorContext
public interface ClassInjectionInterrogatorContext
Context for the
ClassInjectionInterrogator.- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptionObtains theAnnotatedElement.Class<?>Obtains theClassof object for dependency injection.voidRegisters a injection point.voidregisterPostConstruct(Method method) Registers a post constructMethod.
-
Method Details
-
getAnnotatedElement
AnnotatedElement getAnnotatedElement()Obtains the
AnnotatedElement.- Returns:
AnnotatedElement.
-
getObjectClass
Class<?> getObjectClass()Obtains theClassof object for dependency injection.- Returns:
Classof object for dependency injection.
-
registerInjectionPoint
Registers a injection point.
Should always be valid if passing in the return of
getAnnotatedElement().- Parameters:
member-FieldorMethodfor injection.- Throws:
IllegalArgumentException- If invalid injection point type.
-
registerPostConstruct
Registers a post constructMethod.- Parameters:
method-Methodto be invoked after all dependencies are injected.
-