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 boolean
equals(Object obj)
InterceptorFactory<T>
getInterceptorFactory()
Returns an InterceptorFactory capable of creating instances of this interceptor..Class<T>
getJavaClass()
Returns the class of this interceptor.int
hashCode()
protected boolean
isTargetClassInterceptor()
String
toString()
-
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:InterceptorClassMetadata
Returns an InterceptorFactory capable of creating instances of this interceptor..- Specified by:
getInterceptorFactory
in interfaceInterceptorClassMetadata<T>
- Returns:
- the interceptor factory
-
isTargetClassInterceptor
protected boolean isTargetClassInterceptor()
- Specified by:
isTargetClassInterceptor
in classAbstractInterceptorMetadata
-
getJavaClass
public Class<T> getJavaClass()
Description copied from interface:InterceptorClassMetadata
Returns the class of this interceptor.- Specified by:
getJavaClass
in interfaceInterceptorClassMetadata<T>
- Returns:
-
-