Class AbstractInterceptorMetadata
java.lang.Object
org.jboss.weld.interceptor.reader.AbstractInterceptorMetadata
- All Implemented Interfaces:
InterceptorMetadata
- Direct Known Subclasses:
InterceptorMetadataImpl,TargetClassInterceptorMetadata
- Author:
- Marius Bogoevici, Jozef Hartinger
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAbstractInterceptorMetadata(Map<InterceptionType, List<Method>> interceptorMethodMap) -
Method Summary
Modifier and TypeMethodDescriptiongetInterceptorInvocation(Object interceptorInstance, InterceptionType interceptionType) Creates aInterceptorInvocationobject representing invocation of interceptor methods of a given type on a given interceptor instance.getInterceptorMethods(InterceptionType interceptionType) booleanisEligible(InterceptionType interceptionType) Indicates, whether the given interception type is supported.protected abstract boolean
-
Field Details
-
interceptorMethodMap
-
-
Constructor Details
-
AbstractInterceptorMetadata
-
-
Method Details
-
getInterceptorMethods
-
isEligible
Description copied from interface:InterceptorMetadataIndicates, whether the given interception type is supported.- Specified by:
isEligiblein interfaceInterceptorMetadata- Parameters:
interceptionType- TheInterceptionType- Returns:
- true if the given interception type is supported, false otherwise
-
getInterceptorInvocation
public InterceptorInvocation getInterceptorInvocation(Object interceptorInstance, InterceptionType interceptionType) Description copied from interface:InterceptorMetadataCreates aInterceptorInvocationobject representing invocation of interceptor methods of a given type on a given interceptor instance.- Specified by:
getInterceptorInvocationin interfaceInterceptorMetadata- Parameters:
interceptorInstance- the given instance of the interceptorinterceptionType- the given interception type- Returns:
-
isTargetClassInterceptor
protected abstract boolean isTargetClassInterceptor()
-