Package org.jboss.weld.bean.interceptor
Class CdiInterceptorFactory<T>
- java.lang.Object
-
- org.jboss.weld.bean.interceptor.CdiInterceptorFactory<T>
-
- Type Parameters:
T
- the type of the interceptor
- All Implemented Interfaces:
InterceptorFactory<T>
public class CdiInterceptorFactory<T> extends Object implements InterceptorFactory<T>
InterceptorFactory that obtains an interceptor instance usingBeanManagerImpl
.This factory is used for all
Interceptor
implementations.- Author:
- Jozef Hartinger
-
-
Constructor Summary
Constructors Constructor Description CdiInterceptorFactory(jakarta.enterprise.inject.spi.Interceptor<T> interceptor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
create(jakarta.enterprise.context.spi.CreationalContext<T> ctx, BeanManagerImpl manager)
Create a new instance of the interceptorboolean
equals(Object obj)
jakarta.enterprise.inject.spi.Interceptor<T>
getInterceptor()
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
CdiInterceptorFactory
public CdiInterceptorFactory(jakarta.enterprise.inject.spi.Interceptor<T> interceptor)
-
-
Method Detail
-
create
public T create(jakarta.enterprise.context.spi.CreationalContext<T> ctx, BeanManagerImpl manager)
Description copied from interface:InterceptorFactory
Create a new instance of the interceptor- Specified by:
create
in interfaceInterceptorFactory<T>
- Returns:
-
getInterceptor
public jakarta.enterprise.inject.spi.Interceptor<T> getInterceptor()
-
-