当前页面:
在线文档首页 >
Spring Framework 2.0.5 API 文档英文版
AopNamespaceUtils (Spring Framework API 2.0) - Spring Framework 2.0.5 API 文档英文版
org.springframework.aop.config
Class AopNamespaceUtils
java.lang.Object
org.springframework.aop.config.AopNamespaceUtils
public abstract class AopNamespaceUtils
- extends Object
Utility class for handling registration of auto-proxy creators used internally
by the 'aop
' namespace tags.
Only a single auto-proxy creator can be registered and multiple tags may wish
to register different concrete implementations. As such this class wraps a simple
escalation protocol, allowing clases to request a particular auto-proxy creator
and know that class, or a subclass thereof
, will eventually be resident
in the application context.
- Since:
- 2.0
- Author:
- Rob Harrop, Juergen Hoeller
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AUTO_PROXY_CREATOR_BEAN_NAME
public static final String AUTO_PROXY_CREATOR_BEAN_NAME
- The bean name of the internally managed auto-proxy creator.
- See Also:
- Constant Field Values
ASPECTJ_AUTO_PROXY_CREATOR_CLASS_NAME
public static final String ASPECTJ_AUTO_PROXY_CREATOR_CLASS_NAME
- The class name of the '
AnnotationAwareAspectJAutoProxyCreator
' class.
Only available with AspectJ and Java 5.
- See Also:
- Constant Field Values
AopNamespaceUtils
public AopNamespaceUtils()
registerAutoProxyCreatorIfNecessary
public static void registerAutoProxyCreatorIfNecessary(ParserContext parserContext,
Object sourceElement)
registerAspectJAutoProxyCreatorIfNecessary
public static void registerAspectJAutoProxyCreatorIfNecessary(ParserContext parserContext,
Object sourceElement)
registerAtAspectJAutoProxyCreatorIfNecessary
public static void registerAtAspectJAutoProxyCreatorIfNecessary(ParserContext parserContext,
Object sourceElement)
forceAutoProxyCreatorToUseClassProxying
public static void forceAutoProxyCreatorToUseClassProxying(BeanDefinitionRegistry registry)
Copyright © 2002-2007 The Spring Framework.