Class InterceptorMetadataImpl<T>
- java.lang.Object
-
- org.jboss.weld.interceptor.reader.AbstractInterceptorMetadata
-
- org.jboss.weld.interceptor.reader.InterceptorMetadataImpl<T>
-
- Type Parameters:
T- type the type of the interceptor
- All Implemented Interfaces:
InterceptorClassMetadata<T>,InterceptorMetadata
public class InterceptorMetadataImpl<T> extends AbstractInterceptorMetadata implements InterceptorClassMetadata<T>
Interceptor class metadata. This class is immutable.- Author:
- Jozef Hartinger
-
-
Field Summary
-
Fields inherited from class org.jboss.weld.interceptor.reader.AbstractInterceptorMetadata
interceptorMethodMap
-
-
Constructor Summary
Constructors Constructor Description InterceptorMetadataImpl(Class<T> javaClass, InterceptorFactory<T> reference, Map<InterceptionType,List<Method>> interceptorMethodMap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)InterceptorFactory<T>getInterceptorFactory()Returns an InterceptorFactory capable of creating instances of this interceptor..Class<T>getJavaClass()Returns the class of this interceptor.inthashCode()protected booleanisTargetClassInterceptor()StringtoString()-
Methods inherited from class org.jboss.weld.interceptor.reader.AbstractInterceptorMetadata
getInterceptorInvocation, getInterceptorMethods, isEligible
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.jboss.weld.interceptor.spi.metadata.InterceptorClassMetadata
getKey
-
Methods inherited from interface org.jboss.weld.interceptor.spi.metadata.InterceptorMetadata
getInterceptorInvocation, isEligible
-
-
-
-
Constructor Detail
-
InterceptorMetadataImpl
public InterceptorMetadataImpl(Class<T> javaClass, InterceptorFactory<T> reference, Map<InterceptionType,List<Method>> interceptorMethodMap)
-
-
Method Detail
-
getInterceptorFactory
public InterceptorFactory<T> getInterceptorFactory()
Description copied from interface:InterceptorClassMetadataReturns an InterceptorFactory capable of creating instances of this interceptor..- Specified by:
getInterceptorFactoryin interfaceInterceptorClassMetadata<T>- Returns:
- the interceptor factory
-
isTargetClassInterceptor
protected boolean isTargetClassInterceptor()
- Specified by:
isTargetClassInterceptorin classAbstractInterceptorMetadata
-
getJavaClass
public Class<T> getJavaClass()
Description copied from interface:InterceptorClassMetadataReturns the class of this interceptor.- Specified by:
getJavaClassin interfaceInterceptorClassMetadata<T>- Returns:
-
-