public abstract class AbstractInterceptorMetadata extends Object implements InterceptorMetadata
Modifier and Type | Field and Description |
---|---|
protected Map<InterceptionType,List<Method>> |
interceptorMethodMap |
Constructor and Description |
---|
AbstractInterceptorMetadata(Map<InterceptionType,List<Method>> interceptorMethodMap) |
Modifier and Type | Method and Description |
---|---|
InterceptorInvocation |
getInterceptorInvocation(Object interceptorInstance,
InterceptionType interceptionType)
Creates a
InterceptorInvocation object representing invocation of interceptor methods of a given type on a given interceptor instance. |
List<Method> |
getInterceptorMethods(InterceptionType interceptionType) |
boolean |
isEligible(InterceptionType interceptionType)
Indicates, whether the given interception type is supported.
|
protected abstract boolean |
isTargetClassInterceptor() |
protected final Map<InterceptionType,List<Method>> interceptorMethodMap
public AbstractInterceptorMetadata(Map<InterceptionType,List<Method>> interceptorMethodMap)
public List<Method> getInterceptorMethods(InterceptionType interceptionType)
public boolean isEligible(InterceptionType interceptionType)
InterceptorMetadata
isEligible
in interface InterceptorMetadata
interceptionType
- The InterceptionType
public InterceptorInvocation getInterceptorInvocation(Object interceptorInstance, InterceptionType interceptionType)
InterceptorMetadata
InterceptorInvocation
object representing invocation of interceptor methods of a given type on a given interceptor instance.getInterceptorInvocation
in interface InterceptorMetadata
interceptorInstance
- the given instance of the interceptorinterceptionType
- the given interception typeprotected abstract boolean isTargetClassInterceptor()
Copyright © 2016. All rights reserved.