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
Interceptorimplementations.- Author:
- Jozef Hartinger
-
-
Constructor Summary
Constructors Constructor Description CdiInterceptorFactory(Interceptor<T> interceptor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tcreate(CreationalContext<T> ctx, BeanManagerImpl manager)Create a new instance of the interceptorbooleanequals(Object obj)Interceptor<T>getInterceptor()inthashCode()StringtoString()
-
-
-
Constructor Detail
-
CdiInterceptorFactory
public CdiInterceptorFactory(Interceptor<T> interceptor)
-
-
Method Detail
-
create
public T create(CreationalContext<T> ctx, BeanManagerImpl manager)
Description copied from interface:InterceptorFactoryCreate a new instance of the interceptor- Specified by:
createin interfaceInterceptorFactory<T>- Returns:
-
getInterceptor
public Interceptor<T> getInterceptor()
-
-