public abstract class MethodInvocationStrategy extends Object
BeanManager
injection point (common in extensions)EventMetadata
injection pointModifier 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,
javax.enterprise.context.spi.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, javax.enterprise.context.spi.CreationalContext<?> creationalContext)
Copyright © 2024. All rights reserved.