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

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

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

Method interceptor for external bean methods.

This implementation is thread-safe.

Author:
Rod Johnson

Constructor Summary
ExternalBeanMethodMethodInterceptor(org.springframework.beans.factory.BeanFactory owningBeanFactory, BeanNamingStrategy namingStrategy)
           
 
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

ExternalBeanMethodMethodInterceptor

public ExternalBeanMethodMethodInterceptor(org.springframework.beans.factory.BeanFactory owningBeanFactory,
                                           BeanNamingStrategy namingStrategy)
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.