Uses of Interface
org.springframework.aop.TargetSource
Packages that use TargetSource
Package
Description
Package containing Spring's basic AOP infrastructure, compliant with the
AOP Alliance interfaces.
Bean post-processors for use in ApplicationContexts to simplify AOP usage
by automatically creating AOP proxies without the need to use a ProxyFactoryBean.
Various
TargetSourceCreator
implementations for use with Spring's AOP auto-proxying support.Various
TargetSource implementations for use
with Spring AOP.Support for dynamic, refreshable
TargetSource
implementations for use with Spring AOP.The classes in this package make JNDI easier to use,
facilitating the accessing of configuration stored in JNDI,
and provide useful superclasses for JNDI access classes.
Support classes for Spring's scripting package.
-
Uses of TargetSource in org.springframework.aop.framework
Fields in org.springframework.aop.framework declared as TargetSourceModifier and TypeFieldDescriptionstatic final TargetSourceAdvisedSupport.EMPTY_TARGET_SOURCECanonical TargetSource when there's no target, and behavior is supplied by the advisors.Methods in org.springframework.aop.framework that return TargetSourceModifier and TypeMethodDescriptionprotected TargetSourceAbstractSingletonProxyFactoryBean.createTargetSource(Object target) Determine a TargetSource for the given target (or TargetSource).Advised.getTargetSource()Return theTargetSourceused by thisAdvisedobject.AdvisedSupport.getTargetSource()Methods in org.springframework.aop.framework with parameters of type TargetSourceModifier and TypeMethodDescriptionprotected voidAdvisedSupport.copyConfigurationFrom(AdvisedSupport other, TargetSource targetSource, List<Advisor> advisors) Copy the AOP configuration from the givenAdvisedSupportobject, but allow substitution of a freshTargetSourceand a given interceptor chain.static <T> TProxyFactory.getProxy(Class<T> proxyInterface, TargetSource targetSource) Create a proxy for the specifiedTargetSource, implementing the specified interface.static ObjectProxyFactory.getProxy(TargetSource targetSource) Create a proxy for the specifiedTargetSourcethat extends the target class of theTargetSource.voidAdvised.setTargetSource(TargetSource targetSource) Change theTargetSourceused by thisAdvisedobject.voidAdvisedSupport.setTargetSource(TargetSource targetSource) Constructors in org.springframework.aop.framework with parameters of type TargetSourceModifierConstructorDescriptionProxyFactory(Class<?> proxyInterface, TargetSource targetSource) Create a ProxyFactory for the specifiedTargetSource, making the proxy implement the specified interface. -
Uses of TargetSource in org.springframework.aop.framework.autoproxy
Methods in org.springframework.aop.framework.autoproxy that return TargetSourceModifier and TypeMethodDescriptionprotected TargetSourceAbstractAutoProxyCreator.getCustomTargetSource(Class<?> beanClass, String beanName) Create a target source for bean instances.protected TargetSourceBeanNameAutoProxyCreator.getCustomTargetSource(Class<?> beanClass, String beanName) Delegate toAbstractAutoProxyCreator.getCustomTargetSource(Class, String)if the bean name matches one of the names in the configured list of supported names, returningnullotherwise.TargetSourceCreator.getTargetSource(Class<?> beanClass, String beanName) Create a special TargetSource for the given bean, if any.Methods in org.springframework.aop.framework.autoproxy with parameters of type TargetSourceModifier and TypeMethodDescriptionprotected ObjectAbstractAutoProxyCreator.createProxy(Class<?> beanClass, String beanName, Object[] specificInterceptors, TargetSource targetSource) Create an AOP proxy for the given bean.protected Object[]AbstractAdvisorAutoProxyCreator.getAdvicesAndAdvisorsForBean(Class<?> beanClass, String beanName, TargetSource targetSource) protected abstract Object[]AbstractAutoProxyCreator.getAdvicesAndAdvisorsForBean(Class<?> beanClass, String beanName, TargetSource customTargetSource) Return whether the given bean is to be proxied, what additional advices (for example, AOP Alliance interceptors) and advisors to apply.protected Object[]BeanNameAutoProxyCreator.getAdvicesAndAdvisorsForBean(Class<?> beanClass, String beanName, TargetSource targetSource) Identify as a bean to proxy if the bean name matches one of the names in the configured list of supported names. -
Uses of TargetSource in org.springframework.aop.framework.autoproxy.target
Methods in org.springframework.aop.framework.autoproxy.target that return TargetSourceModifier and TypeMethodDescriptionfinal TargetSourceAbstractBeanFactoryBasedTargetSourceCreator.getTargetSource(Class<?> beanClass, String beanName) -
Uses of TargetSource in org.springframework.aop.target
Classes in org.springframework.aop.target that implement TargetSourceModifier and TypeClassDescriptionclassBase class forTargetSourceimplementations that are based on a SpringBeanFactory, delegating to Spring-managed bean instances.classTargetSourceimplementation that will lazily create a user-managed object.classAbstract base class for poolingTargetSourceimplementations which maintain a pool of target instances, acquiring and releasing a target object from the pool for each method invocation.classBase class for dynamicTargetSourceimplementations that create new prototype bean instances to support a pooling or new-instance-per-invocation strategy.classTargetSourceimplementation that holds objects in a configurable Apache Commons2 Pool.final classCanonicalTargetSourcewhen there is no target (or just the target class known), and behavior is supplied by interfaces and advisors only.classTargetSourceimplementation that caches a local target object, but allows the target to be swapped while the application is running.classTargetSourcethat lazily accesses a singleton bean from aBeanFactory.classTargetSourceimplementation that creates a new instance of the target bean for each request, destroying each instance on release (after each request).classSimpleTargetSourceimplementation, freshly obtaining the specified target bean from its containing SpringBeanFactory.classImplementation of theTargetSourceinterface that holds a given object.classAlternative to an object pool. -
Uses of TargetSource in org.springframework.aop.target.dynamic
Classes in org.springframework.aop.target.dynamic that implement TargetSourceModifier and TypeClassDescriptionclassAbstractTargetSourceimplementation that wraps a refreshable target object.classRefreshable TargetSource that fetches fresh target beans from a BeanFactory. -
Uses of TargetSource in org.springframework.jndi
Classes in org.springframework.jndi that implement TargetSourceModifier and TypeClassDescriptionclassAOPTargetSourcethat provides configurable JNDI lookups forgetTarget()calls. -
Uses of TargetSource in org.springframework.scripting.support
Classes in org.springframework.scripting.support that implement TargetSourceModifier and TypeClassDescriptionclassSubclass ofBeanFactoryRefreshableTargetSourcethat determines whether a refresh is required through the givenScriptFactory.Methods in org.springframework.scripting.support with parameters of type TargetSourceModifier and TypeMethodDescriptionprotected ObjectScriptFactoryPostProcessor.createRefreshableProxy(TargetSource ts, Class<?>[] interfaces, boolean proxyTargetClass) Create a refreshable proxy for the given AOP TargetSource.