org.jboss.interceptor.reader
Class SimpleInterceptorMetadata<T>
java.lang.Object
org.jboss.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:
isTargetClass
public boolean isTargetClass()
- Specified by:
isTargetClass in interface InterceptorMetadata<T>
getInterceptorMethods
public List<MethodMetadata> getInterceptorMethods(InterceptionType interceptionType)
- Description copied from interface:
InterceptorMetadata
- Returns the list of interceptor methods of this class for a given
interception type.
- Specified by:
getInterceptorMethods in interface InterceptorMetadata<T>
- Returns:
- a list of methods
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:
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.