B - The bean typeT - The injectable typepublic interface MethodInjectionPoint<B,T> extends CallableInjectionPoint<B>, Executable<B,T>
EMPTY| Modifier and Type | Method and Description |
|---|---|
default Class<B> |
getDeclaringType() |
Method |
getMethod()
Resolves the
Method instance. |
String |
getName() |
T |
invoke(B instance,
Object... args)
Invokes the method.
|
boolean |
isPostConstructMethod() |
boolean |
isPreDestroyMethod() |
getArgumentsgetDeclaringBean, requiresReflectionfindAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getAnnotationMetadata, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByTypegetAnnotation, getAnnotation, getDeclaredAnnotation, getDeclaredAnnotation, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeDeclaredgetArgumentsMethod getMethod()
Method instance. Note that this method will cause reflection
metadata to be initialized and should be avoided.String getName()
boolean isPreDestroyMethod()
boolean isPostConstructMethod()
T invoke(B instance, Object... args)
invoke in interface Executable<B,T>instance - The instanceargs - The arguments. Should match the types of getArguments()default Class<B> getDeclaringType()
getDeclaringType in interface Executable<B,T>