public abstract class MethodInvocationStrategy extends Object
BeanManager injection point (common in extensions)EventMetadata injection point| Modifier and Type | Field and Description |
|---|---|
protected Class<? extends RuntimeException> |
exceptionTypeToThrow |
| Modifier and Type | Method and Description |
|---|---|
static MethodInvocationStrategy |
forDisposer(MethodInjectionPoint<?,?> method,
BeanManagerImpl manager) |
static MethodInvocationStrategy |
forObserver(MethodInjectionPoint<?,?> method,
BeanManagerImpl manager) |
abstract <T> void |
invoke(Object receiver,
MethodInjectionPoint<?,?> method,
T instance,
BeanManagerImpl manager,
CreationalContext<?> creationalContext) |
protected final Class<? extends RuntimeException> exceptionTypeToThrow
public static MethodInvocationStrategy forDisposer(MethodInjectionPoint<?,?> method, BeanManagerImpl manager)
public static MethodInvocationStrategy forObserver(MethodInjectionPoint<?,?> method, BeanManagerImpl manager)
public abstract <T> void invoke(Object receiver, MethodInjectionPoint<?,?> method, T instance, BeanManagerImpl manager, CreationalContext<?> creationalContext)
Copyright © 2015. All Rights Reserved.