Package org.jvnet.hk2.internal
Class MethodInterceptorHandler
- java.lang.Object
-
- org.jvnet.hk2.internal.MethodInterceptorHandler
-
- All Implemented Interfaces:
javassist.util.proxy.MethodHandler
public class MethodInterceptorHandler extends java.lang.Object implements javassist.util.proxy.MethodHandler
This is the handler that runs the aopalliance method interception
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private class
MethodInterceptorHandler.MethodInvocationImpl
-
Field Summary
Fields Modifier and Type Field Description private static boolean
DEBUG_INTERCEPTION
private java.util.Map<java.lang.reflect.Method,java.util.List<org.aopalliance.intercept.MethodInterceptor>>
interceptorLists
private ServiceLocatorImpl
locator
private ActiveDescriptor<?>
underlyingDescriptor
-
Constructor Summary
Constructors Constructor Description MethodInterceptorHandler(ServiceLocatorImpl locator, ActiveDescriptor<?> underlyingDescriptor, java.util.Map<java.lang.reflect.Method,java.util.List<org.aopalliance.intercept.MethodInterceptor>> interceptorLists)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
invoke(java.lang.Object self, java.lang.reflect.Method thisMethod, java.lang.reflect.Method proceed, java.lang.Object[] args)
-
-
-
Field Detail
-
DEBUG_INTERCEPTION
private static final boolean DEBUG_INTERCEPTION
-
locator
private final ServiceLocatorImpl locator
-
interceptorLists
private final java.util.Map<java.lang.reflect.Method,java.util.List<org.aopalliance.intercept.MethodInterceptor>> interceptorLists
-
underlyingDescriptor
private final ActiveDescriptor<?> underlyingDescriptor
-
-
Constructor Detail
-
MethodInterceptorHandler
MethodInterceptorHandler(ServiceLocatorImpl locator, ActiveDescriptor<?> underlyingDescriptor, java.util.Map<java.lang.reflect.Method,java.util.List<org.aopalliance.intercept.MethodInterceptor>> interceptorLists)
-
-