ch.elca.el4j.core.aop
Class IntelligentExclusiveBeanNameAutoProxyCreator

java.lang.Object
  extended by org.springframework.aop.framework.ProxyConfig
      extended by org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator
          extended by org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator
              extended by ch.elca.el4j.core.aop.ExclusiveBeanNameAutoProxyCreator
                  extended by ch.elca.el4j.core.aop.IntelligentExclusiveBeanNameAutoProxyCreator
All Implemented Interfaces:
Serializable, AopInfrastructureBean, BeanClassLoaderAware, BeanFactoryAware, BeanPostProcessor, InstantiationAwareBeanPostProcessor, SmartInstantiationAwareBeanPostProcessor, InitializingBean, Ordered

Deprecated. The term "intelligent" is misleading, because proxying errors can be produced. Use the parent class ExclusiveBeanNameAutoProxyCreator instead.

@Deprecated
public class IntelligentExclusiveBeanNameAutoProxyCreator
extends ExclusiveBeanNameAutoProxyCreator

Intelligent exclusive bean name autoproxy creator. Will not create a new proxy for a given bean if this bean is already a proxy bean. All class members (plus getter and setter for them) do just take place in this class, because class AbstractAutoProxyCreator hides them.

Author:
Martin Zeltner (MZE)
See Also:
Serialized Form
File-location:
IntelligentExclusiveBeanNameAutoProxyCreator
Last check-in date:
2010-11-02 11:44:37 +0100 (Di, 02. Nov 2010) by swisswheel for revision 4204

Field Summary
 
Fields inherited from class ch.elca.el4j.core.aop.ExclusiveBeanNameAutoProxyCreator
AUTOPROXY_ALL_BEANS
 
Fields inherited from class org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator
DO_NOT_PROXY, logger, PROXY_WITHOUT_ADDITIONAL_INTERCEPTORS
 
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
 
Constructor Summary
IntelligentExclusiveBeanNameAutoProxyCreator()
          Deprecated.  
 
Method Summary
protected  Object createProxy(Class beanClass, String beanName, Object[] specificInterceptors, TargetSource targetSource)
          Deprecated. Will not create a new proxy for a given bean if this bean is already a proxy bean.
protected  AdvisorAdapterRegistry getAdvisorAdapterRegistry()
          Deprecated.  
protected  String[] getInterceptorNames()
          Deprecated.  
protected  boolean isApplyCommonInterceptorsFirst()
          Deprecated.  
 void setAdvisorAdapterRegistry(AdvisorAdapterRegistry advisorAdapterRegistry)
          Deprecated. Added to have access to the interceptor names.
 void setApplyCommonInterceptorsFirst(boolean applyCommonInterceptorsFirst)
          Deprecated. COPYIED FROM SUPERCLASS!
 void setInterceptorNames(String[] interceptorNames)
          Deprecated. Added to have access to the interceptor names.
 
Methods inherited from class ch.elca.el4j.core.aop.ExclusiveBeanNameAutoProxyCreator
afterPropertiesSet, getAdvicesAndAdvisorsForBean, isProxyFactoryBeanOutput, setBeanNames, setExclusiveBeanNames, setProxyFactoryBeanOutput, wrapIfNecessary
 
Methods inherited from class org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator
isMatch
 
Methods inherited from class org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator
advisorsPreFiltered, buildAdvisors, customizeProxyFactory, determineCandidateConstructors, getBeanFactory, getCacheKey, getCustomTargetSource, getEarlyBeanReference, getOrder, isFrozen, isInfrastructureClass, postProcessAfterInitialization, postProcessAfterInstantiation, postProcessBeforeInitialization, postProcessBeforeInstantiation, postProcessPropertyValues, predictBeanType, setBeanClassLoader, setBeanFactory, setCustomTargetSourceCreators, setFrozen, setOrder, setProxyClassLoader, shouldProxyTargetClass, shouldSkip
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IntelligentExclusiveBeanNameAutoProxyCreator

public IntelligentExclusiveBeanNameAutoProxyCreator()
Deprecated. 
Method Detail

createProxy

protected Object createProxy(Class beanClass,
                             String beanName,
                             Object[] specificInterceptors,
                             TargetSource targetSource)
Deprecated. 
Will not create a new proxy for a given bean if this bean is already a proxy bean. Will not create a new proxy for a given bean if this bean is already a proxy bean.

Overrides:
createProxy in class ExclusiveBeanNameAutoProxyCreator

getInterceptorNames

protected String[] getInterceptorNames()
Deprecated. 
Overrides:
getInterceptorNames in class ExclusiveBeanNameAutoProxyCreator
Returns:
Returns the interceptorNames.

setInterceptorNames

public void setInterceptorNames(String[] interceptorNames)
Deprecated. 
Added to have access to the interceptor names. COPYIED FROM SUPERCLASS! Added to have access to the interceptor names.

Overrides:
setInterceptorNames in class ExclusiveBeanNameAutoProxyCreator

getAdvisorAdapterRegistry

protected AdvisorAdapterRegistry getAdvisorAdapterRegistry()
Deprecated. 
Overrides:
getAdvisorAdapterRegistry in class ExclusiveBeanNameAutoProxyCreator
Returns:
Returns the advisorAdapterRegistry.

setAdvisorAdapterRegistry

public void setAdvisorAdapterRegistry(AdvisorAdapterRegistry advisorAdapterRegistry)
Deprecated. 
Added to have access to the interceptor names. COPYIED FROM SUPERCLASS! Added to have access to the interceptor names.

Overrides:
setAdvisorAdapterRegistry in class ExclusiveBeanNameAutoProxyCreator

isApplyCommonInterceptorsFirst

protected boolean isApplyCommonInterceptorsFirst()
Deprecated. 
Overrides:
isApplyCommonInterceptorsFirst in class ExclusiveBeanNameAutoProxyCreator
Returns:
Returns the applyCommonInterceptorsFirst.

setApplyCommonInterceptorsFirst

public void setApplyCommonInterceptorsFirst(boolean applyCommonInterceptorsFirst)
Deprecated. 
COPYIED FROM SUPERCLASS! Set whether the common interceptors should be applied before bean-specific ones. Default is "true"; else, bean-specific interceptors will get applied first.

Overrides:
setApplyCommonInterceptorsFirst in class ExclusiveBeanNameAutoProxyCreator
Parameters:
applyCommonInterceptorsFirst - See method description.


Copyright © 2005-2011 ELCA. All Rights Reserved.