public abstract class AbstractInterceptorMetadata<T> extends Object implements InterceptorMetadata<T>
Constructor and Description |
---|
AbstractInterceptorMetadata(ClassMetadata<?> classMetadata,
Map<InterceptionType,List<MethodMetadata>> interceptorMethodMap) |
Modifier and Type | Method and Description |
---|---|
ClassMetadata<?> |
getInterceptorClass() |
InterceptorInvocation |
getInterceptorInvocation(Object interceptorInstance,
InterceptionType interceptionType) |
List<MethodMetadata> |
getInterceptorMethods(InterceptionType interceptionType) |
boolean |
isEligible(InterceptionType interceptionType)
Returns true if the interceptor corresponding to this
InterceptorMetadata
has interceptor methods for the given interceptionType . |
protected abstract boolean |
isTargetClassInterceptor() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getInterceptorFactory
public AbstractInterceptorMetadata(ClassMetadata<?> classMetadata, Map<InterceptionType,List<MethodMetadata>> interceptorMethodMap)
public ClassMetadata<?> getInterceptorClass()
getInterceptorClass
in interface InterceptorMetadata<T>
public List<MethodMetadata> getInterceptorMethods(InterceptionType interceptionType)
public boolean isEligible(InterceptionType interceptionType)
InterceptorMetadata
has interceptor methods for the given interceptionType
. Else returns false.isEligible
in interface InterceptorMetadata<T>
interceptionType
- The InterceptionType
public InterceptorInvocation getInterceptorInvocation(Object interceptorInstance, InterceptionType interceptionType)
getInterceptorInvocation
in interface InterceptorMetadata<T>
protected abstract boolean isTargetClassInterceptor()
Copyright © 2014 Seam Framework. All rights reserved.