com.alibaba.druid.support.spring.stat
Class BeanTypeAutoProxyCreator

java.lang.Object
  extended by org.springframework.aop.framework.ProxyConfig
      extended by org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator
          extended by com.alibaba.druid.support.spring.stat.BeanTypeAutoProxyCreator
All Implemented Interfaces:
Serializable, org.springframework.aop.framework.AopInfrastructureBean, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessor, org.springframework.beans.factory.config.SmartInstantiationAwareBeanPostProcessor, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, org.springframework.core.Ordered

public class BeanTypeAutoProxyCreator
extends org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator
implements org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware

类BeanTypeAutoProxyCreator.java的实现描述:使用配置类型代替Springframework中配置名称的实现

Author:
hualiang.lihl 2011-12-31 上午10:48:20
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
 
Constructor Summary
BeanTypeAutoProxyCreator()
           
 
Method Summary
 void afterPropertiesSet()
           
 void setApplicationContext(org.springframework.context.ApplicationContext context)
           
 void setTargetBeanType(Class<?> targetClass)
           
 
Methods inherited from class org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator
determineCandidateConstructors, getEarlyBeanReference, getOrder, isFrozen, postProcessAfterInitialization, postProcessAfterInstantiation, postProcessBeforeInitialization, postProcessBeforeInstantiation, postProcessPropertyValues, predictBeanType, setAdvisorAdapterRegistry, setApplyCommonInterceptorsFirst, setBeanClassLoader, setBeanFactory, setCustomTargetSourceCreators, setFrozen, setInterceptorNames, setOrder, setProxyClassLoader
 
Methods inherited from class org.springframework.aop.framework.ProxyConfig
copyFrom, isExposeProxy, isOpaque, isOptimize, isProxyTargetClass, setExposeProxy, setOpaque, setOptimize, setProxyTargetClass, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BeanTypeAutoProxyCreator

public BeanTypeAutoProxyCreator()
Method Detail

setTargetBeanType

public void setTargetBeanType(Class<?> targetClass)
Parameters:
targetClass - the targetClass to set

setApplicationContext

public void setApplicationContext(org.springframework.context.ApplicationContext context)
Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception


Copyright © 2012 Alibaba Group. All Rights Reserved.