org.springframework.config.java.support.cglib
Class ScopedProxyBeanMethodMethodInterceptor

java.lang.Object
  extended by org.springframework.config.java.support.cglib.ScopedProxyBeanMethodMethodInterceptor
All Implemented Interfaces:
net.sf.cglib.proxy.Callback, net.sf.cglib.proxy.MethodInterceptor

public class ScopedProxyBeanMethodMethodInterceptor
extends java.lang.Object
implements net.sf.cglib.proxy.MethodInterceptor

CGLib callback suitable for scoped proxies. It's aware of the name switch involved with @ScopedProxy.

Author:
Costin Leau
See Also:
ScopedProxy, BeanMethodMethodInterceptor, MethodInterceptor

Constructor Summary
ScopedProxyBeanMethodMethodInterceptor(BeanMethodMethodInterceptor delegate)
           
 
Method Summary
 java.lang.Object intercept(java.lang.Object o, java.lang.reflect.Method m, java.lang.Object[] args, net.sf.cglib.proxy.MethodProxy mp)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScopedProxyBeanMethodMethodInterceptor

public ScopedProxyBeanMethodMethodInterceptor(BeanMethodMethodInterceptor delegate)
Method Detail

intercept

public java.lang.Object intercept(java.lang.Object o,
                                  java.lang.reflect.Method m,
                                  java.lang.Object[] args,
                                  net.sf.cglib.proxy.MethodProxy mp)
                           throws java.lang.Throwable
Specified by:
intercept in interface net.sf.cglib.proxy.MethodInterceptor
Throws:
java.lang.Throwable


Copyright © 2005-2007 Spring Framework. All Rights Reserved.