Top Description Methods
org.springframework.aop.framework

public Interface AopProxyFactory

Known Direct Implementers
org.springframework.aop.framework.DefaultAopProxyFactory

Interface to be implemented by factories that are able to create AOP proxies based on AdvisedSupport configuration objects.

Proxies should observe the following contract:

Proxies may or may not allow advice changes to be made. If they do not permit advice changes (for example, because the configuration was frozen) a proxy should throw an AopConfigException on an attempted advice change.

Authors
Rod Johnson, Juergen Hoeller

Method Summary

Modifier and TypeMethod and Description
public AopProxy

Returns:

the corresponding AOP proxy
createAopProxy
(AdvisedSupport
the AOP configuration in the form of an AdvisedSupport object
config
)

Create an AopProxy for the given AOP configuration.

Method Detail

createAopProxyback to summary
public AopProxy createAopProxy(AdvisedSupport config) throws AopConfigException

Create an AopProxy for the given AOP configuration.

Parameters
config:AdvisedSupport

the AOP configuration in the form of an AdvisedSupport object

Returns:AopProxy

the corresponding AOP proxy

Exceptions
AopConfigException:
if the configuration is invalid