Java org.springframework.aop.framework ProxyFactory fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.aop.framework ProxyFactory fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.aop.framework ProxyFactory.

The text is from its open source code.

Subclass

org.springframework.aop.framework.ProxyFactory has subclasses.
Click this link to see all its subclasses.

Constructor

ProxyFactory()
Create a new ProxyFactory.
ProxyFactory(Class proxyInterface, Interceptor interceptor)
Create a new ProxyFactory for the given interface and interceptor.
ProxyFactory(Class proxyInterface, TargetSource targetSource)
Create a ProxyFactory for the specified TargetSource , making the proxy implement the specified interface.
ProxyFactory(Object target)
Create a new ProxyFactory.
ProxyFactory(Class... proxyInterfaces)
Create a new ProxyFactory.

Method

voidaddAdvice(Advice advice)
voidaddAdvice(int pos, Advice advice)
Cannot add introductions this way unless the advice implements IntroductionInfo.
voidaddAdvisor(Advisor advisor)
voidaddAdvisor(int pos, Advisor advisor)
voidaddAdvisors(Advisor... advisors)
Add all of the given advisors to this proxy configuration.
voidaddInterface(Class intf)
Add a new proxied interface.
voidcopyFrom(ProxyConfig other)
Copy configuration from the other config object.
Advisor[]getAdvisors()
ClassgetClass()
Returns the runtime class of this Object .
ObjectgetProxy()
Create a new proxy according to the settings in this factory.
ObjectgetProxy(@Nullable ClassLoader classLoader)
Create a new proxy according to the settings in this factory.
ObjectgetProxy(TargetSource targetSource)
Create a proxy for the specified TargetSource that extends the target class of the TargetSource .
TgetProxy(Class proxyInterface, Interceptor interceptor)
Create a new proxy for the given interface and interceptor.
TgetProxy(Class proxyInterface, TargetSource targetSource)
Create a proxy for the specified TargetSource , implementing the specified interface.
booleanisProxyTargetClass()
Return whether to proxy the target class directly as well as any interfaces.
booleanremoveAdvisor(Advisor advisor)
voidsetExposeProxy(boolean exposeProxy)
Set whether the proxy should be exposed by the AOP framework as a ThreadLocal for retrieval via the AopContext class.
voidsetFrozen(boolean frozen)
Set whether this config should be frozen.
voidsetInterfaces(Class... interfaces)
Set the interfaces to be proxied.
voidsetOpaque(boolean opaque)
Set whether proxies created by this configuration should be prevented from being cast to Advised to query proxy status.
voidsetOptimize(boolean optimize)
Set whether proxies should perform aggressive optimizations.
voidsetPreFiltered(boolean preFiltered)
voidsetProxyTargetClass(boolean proxyTargetClass)
Set whether to proxy the target class directly, instead of just proxying specific interfaces.
voidsetTarget(Object target)
Set the given object as target.
voidsetTargetClass(@Nullable Class targetClass)
Set a target class to be proxied, indicating that the proxy should be castable to the given class.
voidsetTargetSource(@Nullable TargetSource targetSource)