public class InterceptionContext extends Object implements Serializable
Modifier and Type | Method and Description |
---|---|
List<InterceptorMethodInvocation> |
buildInterceptorMethodInvocations(Object instance,
Method method,
InterceptionType interceptionType) |
List<InterceptorMethodInvocation> |
buildInterceptorMethodInvocationsForConstructorInterception() |
static InterceptionContext |
forConstructorInterception(InterceptionModel interceptionModel,
javax.enterprise.context.spi.CreationalContext<?> ctx,
BeanManagerImpl manager,
SlimAnnotatedType<?> type)
The context returned by this method may be later reused for other interception types.
|
static InterceptionContext |
forNonConstructorInterception(InterceptionModel interceptionModel,
javax.enterprise.context.spi.CreationalContext<?> ctx,
BeanManagerImpl manager,
SlimAnnotatedType<?> type) |
InterceptionModel |
getInterceptionModel() |
<T> T |
getInterceptorInstance(InterceptorClassMetadata<T> interceptorMetadata) |
public static InterceptionContext forConstructorInterception(InterceptionModel interceptionModel, javax.enterprise.context.spi.CreationalContext<?> ctx, BeanManagerImpl manager, SlimAnnotatedType<?> type)
interceptionModel
- ctx
- manager
- type
- public static InterceptionContext forNonConstructorInterception(InterceptionModel interceptionModel, javax.enterprise.context.spi.CreationalContext<?> ctx, BeanManagerImpl manager, SlimAnnotatedType<?> type)
public InterceptionModel getInterceptionModel()
public <T> T getInterceptorInstance(InterceptorClassMetadata<T> interceptorMetadata)
public List<InterceptorMethodInvocation> buildInterceptorMethodInvocations(Object instance, Method method, InterceptionType interceptionType)
public List<InterceptorMethodInvocation> buildInterceptorMethodInvocationsForConstructorInterception()
Copyright © 2021. All rights reserved.