org.jboss.weld.interceptor.reader
Class SimpleInterceptorMetadata<T>
java.lang.Object
org.jboss.weld.interceptor.reader.SimpleInterceptorMetadata<T>
- All Implemented Interfaces:
- Serializable, InterceptorMetadata<T>
public class SimpleInterceptorMetadata<T>
- extends Object
- implements InterceptorMetadata<T>, Serializable
- Author:
- Marius Bogoevici
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleInterceptorMetadata
public SimpleInterceptorMetadata(InterceptorReference<T> interceptorReference,
boolean targetClass,
Map<InterceptionType,List<MethodMetadata>> interceptorMethodMap)
getInterceptorClass
public ClassMetadata<?> getInterceptorClass()
-
- Specified by:
getInterceptorClass
in interface InterceptorMetadata<T>
getInterceptorReference
public InterceptorReference<T> getInterceptorReference()
- Description copied from interface:
InterceptorMetadata
- Returns the class for which this interceptor metadata was created
- Specified by:
getInterceptorReference
in interface InterceptorMetadata<T>
- Returns:
getInterceptorMethods
public List<MethodMetadata> getInterceptorMethods(InterceptionType interceptionType)
isEligible
public boolean isEligible(InterceptionType interceptionType)
- Returns true if the interceptor corresponding to this
InterceptorMetadata
has interceptor methods for the given interceptionType
. Else returns false.
- Specified by:
isEligible
in interface InterceptorMetadata<T>
- Parameters:
interceptionType
- The InterceptionType
- Returns:
getInterceptorInvocation
public InterceptorInvocation getInterceptorInvocation(Object interceptorInstance,
InterceptorMetadata interceptorReference,
InterceptionType interceptionType)
- Specified by:
getInterceptorInvocation
in interface InterceptorMetadata<T>
Copyright © 2013 Seam Framework. All Rights Reserved.