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)
InterceptorMetadataisEligible in interface InterceptorMetadatainterceptionType - The InterceptionTypepublic InterceptorInvocation getInterceptorInvocation(Object interceptorInstance, InterceptionType interceptionType)
InterceptorMetadataInterceptorInvocation object representing invocation of interceptor methods of a given type on a given interceptor instance.getInterceptorInvocation in interface InterceptorMetadatainterceptorInstance - the given instance of the interceptorinterceptionType - the given interception typeprotected abstract boolean isTargetClassInterceptor()
Copyright © 2014. All Rights Reserved.