org.springframework.aop.framework
Interface AopProxyFactory

All Known Implementing Classes:
DefaultAopProxyFactory

public interface AopProxyFactory

Interface to be implemented by objects that can create AOP proxies based on AdvisedSupport 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

Method Summary
 AopProxy createAopProxy(AdvisedSupport advisedSupport)
          Return an AopProxy for the given AdvisedSupport object.
 

Method Detail

createAopProxy

AopProxy createAopProxy(AdvisedSupport advisedSupport)
                        throws AopConfigException
Return an AopProxy for the given AdvisedSupport object.

Parameters:
advisedSupport - the AOP configuration
Returns:
an AOP proxy
Throws:
AopConfigException - if the configuration is invalid


Copyright (c) 2002-2007 The Spring Framework Project.