程序包 infra.aop.config
类 AopNamespaceUtils
java.lang.Object
infra.aop.config.AopNamespaceUtils
Utility class for handling registration of auto-proxy creators used internally
by the '
aop' namespace tags.
Only a single auto-proxy creator should be registered and multiple configuration
elements may wish to register different concrete implementations. As such this class
delegates to infra.context.annotation.AutoProxyRegistrar which
provides a simple escalation protocol.Callers may request a particular auto-proxy
creator and know that creator, or a more capable variant thereof, will be
registered as a post-processor.
- 从以下版本开始:
- 4.0 2022/3/7 21:53
- 作者:
- Rob Harrop, Juergen Hoeller, Mark Fisher, Harry Yang
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static voidregisterAspectJAnnotationAutoProxyCreatorIfNecessary(infra.beans.factory.xml.ParserContext parserContext, Element sourceElement) static voidregisterAspectJAutoProxyCreatorIfNecessary(infra.beans.factory.xml.ParserContext parserContext, Element sourceElement) static voidregisterAutoProxyCreatorIfNecessary(infra.beans.factory.xml.ParserContext parserContext, Element sourceElement) private static voidregisterComponentIfNecessary(infra.beans.factory.config.BeanDefinition beanDefinition, infra.beans.factory.xml.ParserContext parserContext) private static voiduseClassProxyingIfNecessary(infra.beans.factory.support.BeanDefinitionRegistry registry, Element sourceElement)
-
字段详细资料
-
构造器详细资料
-
AopNamespaceUtils
public AopNamespaceUtils()
-
-
方法详细资料
-
registerAutoProxyCreatorIfNecessary
public static void registerAutoProxyCreatorIfNecessary(infra.beans.factory.xml.ParserContext parserContext, Element sourceElement) -
registerAspectJAutoProxyCreatorIfNecessary
public static void registerAspectJAutoProxyCreatorIfNecessary(infra.beans.factory.xml.ParserContext parserContext, Element sourceElement) -
registerAspectJAnnotationAutoProxyCreatorIfNecessary
public static void registerAspectJAnnotationAutoProxyCreatorIfNecessary(infra.beans.factory.xml.ParserContext parserContext, Element sourceElement) -
useClassProxyingIfNecessary
private static void useClassProxyingIfNecessary(infra.beans.factory.support.BeanDefinitionRegistry registry, @Nullable Element sourceElement) -
registerComponentIfNecessary
private static void registerComponentIfNecessary(@Nullable infra.beans.factory.config.BeanDefinition beanDefinition, infra.beans.factory.xml.ParserContext parserContext)
-