站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Spring Framework 2.1.0 API 文档英文版

AopProxyFactory (Spring Framework API 2.1) - Spring Framework 2.1.0 API 文档英文版


The Spring Framework

org.springframework.aop.framework
Interface AopProxyFactory

All Known Implementing Classes:
DefaultAopProxyFactory

public interface AopProxyFactory

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.

Author:
Rod Johnson, Juergen Hoeller

Method Summary
 AopProxy createAopProxy(AdvisedSupport config)
          Create an AopProxy for the given AOP configuration.
 

Method Detail

createAopProxy

AopProxy createAopProxy(AdvisedSupport config)
                        throws AopConfigException
Create an AopProxy for the given AOP configuration.

Parameters:
config - the AOP configuration in the form of an AdvisedSupport object
Returns:
the corresponding AOP proxy
Throws:
AopConfigException - if the configuration is invalid

The Spring Framework

Copyright © 2002-2007 The Spring Framework.