T - the type of the interceptorpublic class PlainInterceptorFactory<T> extends Object implements InterceptorFactory<T>
InjectionTarget as a factory for interceptor instances.
This factory is used for interceptors that are not CDI beans - interceptors defined using the Interceptors annotation.
| Constructor and Description |
|---|
PlainInterceptorFactory(InjectionTarget<T> injectionTarget) |
| Modifier and Type | Method and Description |
|---|---|
T |
create(CreationalContext<T> ctx,
BeanManagerImpl manager)
Create a new instance of the interceptor
|
InjectionTarget<T> |
getInjectionTarget() |
static <T> PlainInterceptorFactory<T> |
of(Class<T> javaClass,
BeanManagerImpl manager) |
public PlainInterceptorFactory(InjectionTarget<T> injectionTarget)
public static <T> PlainInterceptorFactory<T> of(Class<T> javaClass, BeanManagerImpl manager)
public T create(CreationalContext<T> ctx, BeanManagerImpl manager)
InterceptorFactorycreate in interface InterceptorFactory<T>public InjectionTarget<T> getInjectionTarget()
Copyright © 2016. All Rights Reserved.