com.atlassian.jira.config.component
Class AbstractDelegatedMethodInterceptor<T>

java.lang.Object
  extended by com.atlassian.jira.config.component.AbstractDelegatedMethodInterceptor<T>
All Implemented Interfaces:
net.sf.cglib.proxy.Callback, net.sf.cglib.proxy.MethodInterceptor

public abstract class AbstractDelegatedMethodInterceptor<T>
extends Object
implements net.sf.cglib.proxy.MethodInterceptor

Since:
v6.2

Constructor Summary
AbstractDelegatedMethodInterceptor()
           
 
Method Summary
static
<T> T
createProxy(Class<T> proxyClass, AbstractDelegatedMethodInterceptor<T> interceptor)
           
protected abstract  T getDelegate()
           
 Object intercept(Object obj, Method method, Object[] args, net.sf.cglib.proxy.MethodProxy proxy)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractDelegatedMethodInterceptor

public AbstractDelegatedMethodInterceptor()
Method Detail

intercept

public Object intercept(Object obj,
                        Method method,
                        Object[] args,
                        net.sf.cglib.proxy.MethodProxy proxy)
                 throws Throwable
Specified by:
intercept in interface net.sf.cglib.proxy.MethodInterceptor
Throws:
Throwable

getDelegate

protected abstract T getDelegate()

createProxy

public static <T> T createProxy(Class<T> proxyClass,
                                AbstractDelegatedMethodInterceptor<T> interceptor)


Copyright © 2002-2014 Atlassian. All Rights Reserved.