T - the return type of the methodX - the type of the class that declared the methodpublic interface MethodInjectionPoint<T,X>
| Modifier and Type | Method and Description |
|---|---|
AnnotatedMethod<X> |
getAnnotated() |
Set<InjectionPoint> |
getInjectionPoints() |
List<ParameterInjectionPoint<?,X>> |
getParameterInjectionPoints() |
T |
invoke(Object receiver,
Object specialValue,
BeanManagerImpl manager,
CreationalContext<?> ctx,
Class<? extends RuntimeException> exceptionTypeToThrow)
Invokes the method.
|
T invoke(Object receiver, Object specialValue, BeanManagerImpl manager, CreationalContext<?> ctx, Class<? extends RuntimeException> exceptionTypeToThrow)
receiver - the instance to receive the method invocation or null if this is a static methodspecialValue - value to be passed to the special parameter (observer or disposer parameter) or null if the method is not an observer or disposermanager - the bean managerctx - the creational contextexceptionTypeToThrow - exception type to be used to wrap potential exceptions withinAnnotatedMethod<X> getAnnotated()
List<ParameterInjectionPoint<?,X>> getParameterInjectionPoints()
Set<InjectionPoint> getInjectionPoints()
Copyright © 2014. All Rights Reserved.