public abstract class AbstractInterceptorMetadata extends java.lang.Object implements InterceptorMetadata
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<InterceptionType,java.util.List<java.lang.reflect.Method>> |
interceptorMethodMap |
| Constructor and Description |
|---|
AbstractInterceptorMetadata(java.util.Map<InterceptionType,java.util.List<java.lang.reflect.Method>> interceptorMethodMap) |
| Modifier and Type | Method and Description |
|---|---|
InterceptorInvocation |
getInterceptorInvocation(java.lang.Object interceptorInstance,
InterceptionType interceptionType)
Creates a
InterceptorInvocation object representing invocation of interceptor methods of a given type on a given interceptor instance. |
java.util.List<java.lang.reflect.Method> |
getInterceptorMethods(InterceptionType interceptionType) |
boolean |
isEligible(InterceptionType interceptionType)
Indicates, whether the given interception type is supported.
|
protected abstract boolean |
isTargetClassInterceptor() |
protected final java.util.Map<InterceptionType,java.util.List<java.lang.reflect.Method>> interceptorMethodMap
public AbstractInterceptorMetadata(java.util.Map<InterceptionType,java.util.List<java.lang.reflect.Method>> interceptorMethodMap)
public java.util.List<java.lang.reflect.Method> getInterceptorMethods(InterceptionType interceptionType)
public boolean isEligible(InterceptionType interceptionType)
InterceptorMetadataisEligible in interface InterceptorMetadatainterceptionType - The InterceptionTypepublic InterceptorInvocation getInterceptorInvocation(java.lang.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.