| Home >> All >> org >> springframework >> aop >> framework >> [ autoproxy Javadoc ] |
| | org.springframework.aop.framework.autoproxy.metadata.* (5) | | org.springframework.aop.framework.autoproxy.target.* (5) |
org.springframework.aop.framework.autoproxy: Javadoc index of package org.springframework.aop.framework.autoproxy.
Package Samples:
org.springframework.aop.framework.autoproxy.target: Bean post-processors for use in ApplicationContexts to simplify AOP usage by automatically creating AOP proxies without the need to use a ProxyFactoryBean.
org.springframework.aop.framework.autoproxy.metadata
Classes:
AbstractAutoProxyCreator: BeanPostProcessor implementation that wraps a group of beans with AOP proxies that delegate to the given interceptors before invoking the bean itself. This class distinguishes between "common" interceptors: shared for all proxies it creates, and "specific" interceptors: unique per bean instance. There need not be any common interceptors. If there are, they are set using the interceptorNames property. As with ProxyFactoryBean, interceptors names in the current factory are used rather than bean references to allow correct handling of prototype advisors and interceptors: for example, to support stateful ...
LazyInitTargetSourceCreator: TargetSourceCreator that enforces a LazyInitTargetSource for each bean that is defined as "lazy-init". This will lead to a proxy created for each of those beans, allowing to fetch a reference to such a bean without actually initialized the target bean instance. To be registered as custom TargetSourceCreator for an auto-proxy creator, in combination with custom interceptors for specific beans or for the creation of lazy-init proxies only. For example, as autodetected infrastructure bean in an XML application context definition: <bean class="org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator"> ...
AbstractAdvisorAutoProxyCreator: Abstract BeanPostProcessor implementation that creates AOP proxies. This class is completely generic; it contains no special code to handle any particular aspects, such as pooling aspects. Subclasses must implement the abstract findCandidateAdvisors() method to return a list of Advisors applying to any object. Subclasses can also override the inherited shouldSkip method to exclude certain objects from auto-proxying, but they must be careful to invoke the base shouldSkip method, which tries to avoid circular reference problems and infinite loops. Advisors or advices requiring ordering should implement ...
DefaultAdvisorAutoProxyCreator: BeanPostProcessor implementation that creates AOP proxies based on all candidate Advisors in the current BeanFactory. This class is completely generic; it contains no special code to handle any particular aspects, such as pooling aspects. It's possible to filter out advisors - for example, to use multiple post processors of this type in the same factory - by setting the usePrefix property to true, in which case only advisors beginning with the DefaultAdvisorAutoProxyCreator's bean name followed by a dot (like "aapc.") will be used. This default prefix can be changed from the bean name by setting ...
AbstractBeanFactoryBasedTargetSourceCreator: Convenient superclass for TargetSourceCreators that require creating multiple instances of a prototype bean. Uses an internal BeanFactory to manage the target instances, copying the original bean definition to this internal factory. This is necessary because the original BeanFactory will just contain the proxy instance created through auto-proxying. Requires running in an AbstractBeanFactory.
TargetSourceCreator: Implementations can create special target sources, such as pooling target sources, for particular beans. For example, they may base their choice on attributes, such as a pooling attribute, on the target class. AbstractAutoProxyCreator can support a number of TargetSourceCreators, which will be applied in order.
QuickTargetSourceCreator: Convenient TargetSourceCreator using bean name prefixes to create one of three well-known TargetSource types: : CommonsPoolTargetSource % ThreadLocalTargetSource ! PrototypeTargetSource
AttributesThreadLocalTargetSourceCreator: PrototypeTargetSourceCreator driven by metadata. Creates a ThreadLocalTargetSource only if there's a ThreadLocalAttribute associated with the class.
AttributesPrototypeTargetSourceCreator: PrototypeTargetSourceCreator driven by metadata. Creates a prototype only if there's a PrototypeAttribute associated with the class.
BeanNameAutoProxyCreator: Auto proxy creator that identifies beans to proxy via a list of names. Checks for direct, "xxx*", and "*xxx" matches.
PrototypeAttribute: Tag attribute to identify beans for which the target should be a prototype (new instance per invocation)
ThreadLocalAttribute: Tag attribute to identify beans for which the target should be a set in a ThreadLocal.
AbstractPoolingTargetSourceCreator: Convenient superclass for TargetSource creators that create pooling TargetSources.
PoolingAttribute: Simple pooling attribute that can drive automatic creation of a TargetSource.
AttributesPoolingTargetSourceCreator: PoolingTargetSourceCreator driven by metadata.
| Home | Contact Us | Privacy Policy | Terms of Service |