Class AbstractDelegatedMethodInterceptor<T>
java.lang.Object
com.atlassian.jira.config.component.AbstractDelegatedMethodInterceptor<T>
- All Implemented Interfaces:
org.springframework.cglib.proxy.Callback
,org.springframework.cglib.proxy.MethodInterceptor
public abstract class AbstractDelegatedMethodInterceptor<T>
extends Object
implements org.springframework.cglib.proxy.MethodInterceptor
- Since:
- v6.2
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> T
createClassProxy
(Class<? super T> clazz, AbstractDelegatedMethodInterceptor<T> interceptor) static <T> T
createProxy
(Class<T> interfaze, AbstractDelegatedMethodInterceptor<T> interceptor) static <T> T
createProxy
(List<Class<? super T>> interfaces, AbstractDelegatedMethodInterceptor<T> interceptor) protected abstract T
intercept
(Object obj, Method method, Object[] args, org.springframework.cglib.proxy.MethodProxy proxy)
-
Constructor Details
-
AbstractDelegatedMethodInterceptor
public AbstractDelegatedMethodInterceptor()
-
-
Method Details
-
intercept
public Object intercept(Object obj, Method method, Object[] args, org.springframework.cglib.proxy.MethodProxy proxy) throws Throwable - Specified by:
intercept
in interfaceorg.springframework.cglib.proxy.MethodInterceptor
- Throws:
Throwable
-
getDelegate
-
createProxy
public static <T> T createProxy(Class<T> interfaze, AbstractDelegatedMethodInterceptor<T> interceptor) -
createProxy
public static <T> T createProxy(List<Class<? super T>> interfaces, AbstractDelegatedMethodInterceptor<T> interceptor) -
createClassProxy
public static <T> T createClassProxy(Class<? super T> clazz, AbstractDelegatedMethodInterceptor<T> interceptor)
-