anyframe.common.aop
Class ExclusiveBeanNameAutoProxyCreator
java.lang.Object
org.springframework.aop.framework.ProxyConfig
org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator
org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator
anyframe.common.aop.ExclusiveBeanNameAutoProxyCreator
- All Implemented Interfaces:
- Serializable, AopInfrastructureBean, BeanClassLoaderAware, BeanFactoryAware, BeanPostProcessor, InstantiationAwareBeanPostProcessor, SmartInstantiationAwareBeanPostProcessor, InitializingBean, Ordered
public class ExclusiveBeanNameAutoProxyCreator
- extends BeanNameAutoProxyCreator
- implements InitializingBean
Automatical proxy creator class to identify beans to proxy using the bean name list. Checks
for direct, "test*", and "*test" matches.
- Author:
- SoYon Lim, JongHoon Kim
- See Also:
- Serialized Form
| Methods inherited from class org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator |
advisorsPreFiltered, buildAdvisors, createProxy, customizeProxyFactory, determineCandidateConstructors, getBeanFactory, getCacheKey, getCustomTargetSource, getEarlyBeanReference, getOrder, isFrozen, isInfrastructureClass, isInfrastructureClass, postProcessAfterInitialization, postProcessAfterInstantiation, postProcessBeforeInitialization, postProcessBeforeInstantiation, postProcessPropertyValues, predictBeanType, setAdvisorAdapterRegistry, setApplyCommonInterceptorsFirst, setBeanClassLoader, setBeanFactory, setCustomTargetSourceCreators, setFrozen, setInterceptorNames, setOrder, setProxyClassLoader, shouldProxyTargetClass, shouldSkip, wrapIfNecessary |
ExclusiveBeanNameAutoProxyCreator
public ExclusiveBeanNameAutoProxyCreator()
setBeanNames
public void setBeanNames(String[] beanNames)
-
- Overrides:
setBeanNames in class BeanNameAutoProxyCreator
getAdvicesAndAdvisorsForBean
public Object[] getAdvicesAndAdvisorsForBean(Class beanClass,
String beanName,
TargetSource targetSource)
- Overrides:
getAdvicesAndAdvisorsForBean in class BeanNameAutoProxyCreator
setExclusiveBeanNames
public void setExclusiveBeanNames(String[] beanNames)
- Set the names of the exclusive beans
- Parameters:
beanNames - exclusive bean names
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
-
- Specified by:
afterPropertiesSet in interface InitializingBean
- Throws:
Exception
Copyright © 2008-2009 Samsung SDS. All Rights Reserved.