Class PlainInterceptorFactory<T>
java.lang.Object
org.jboss.weld.interceptor.reader.PlainInterceptorFactory<T>
- Type Parameters:
T- the type of the interceptor
- All Implemented Interfaces:
InterceptorFactory<T>
InterceptorFactory that uses an
InjectionTarget as a factory for interceptor instances.
This factory is used for interceptors that are not CDI beans - interceptors defined using the Interceptors
annotation.
- Author:
- Jozef Hartinger
-
Constructor Summary
ConstructorsConstructorDescriptionPlainInterceptorFactory(jakarta.enterprise.inject.spi.InjectionTarget<T> injectionTarget) -
Method Summary
Modifier and TypeMethodDescriptioncreate(jakarta.enterprise.context.spi.CreationalContext<T> ctx, BeanManagerImpl manager) Create a new instance of the interceptorjakarta.enterprise.inject.spi.InjectionTarget<T>static <T> PlainInterceptorFactory<T>of(Class<T> javaClass, BeanManagerImpl manager)
-
Constructor Details
-
PlainInterceptorFactory
-
-
Method Details
-
of
-
create
Description copied from interface:InterceptorFactoryCreate a new instance of the interceptor- Specified by:
createin interfaceInterceptorFactory<T>- Returns:
-
getInjectionTarget
-