|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.aop.config.AopNamespaceUtils
public abstract class AopNamespaceUtils
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 delegates to
AopConfigUtils which wraps a simple escalation protocol. Therefore classes
may request a particular auto-proxy creator and know that class, or a subclass
thereof, will eventually be resident in the application context.
AopConfigUtils| Field Summary | |
|---|---|
private static java.lang.String |
EXPOSE_PROXY_ATTRIBUTE
The expose-proxy attribute as found on AOP-related XML tags. |
static java.lang.String |
PROXY_TARGET_CLASS_ATTRIBUTE
The proxy-target-class attribute as found on AOP-related XML tags. |
| Constructor Summary | |
|---|---|
AopNamespaceUtils()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PROXY_TARGET_CLASS_ATTRIBUTE
proxy-target-class attribute as found on AOP-related XML tags.
private static final java.lang.String EXPOSE_PROXY_ATTRIBUTE
expose-proxy attribute as found on AOP-related XML tags.
| Constructor Detail |
|---|
public AopNamespaceUtils()
| Method Detail |
|---|
public static void registerAutoProxyCreatorIfNecessary(ParserContext parserContext,
org.w3c.dom.Element sourceElement)
public static void registerAspectJAutoProxyCreatorIfNecessary(ParserContext parserContext,
org.w3c.dom.Element sourceElement)
public static void registerAspectJAnnotationAutoProxyCreatorIfNecessary(ParserContext parserContext,
org.w3c.dom.Element sourceElement)
@Deprecated
public static void registerAutoProxyCreatorIfNecessary(ParserContext parserContext,
java.lang.Object source)
registerAutoProxyCreatorIfNecessary(ParserContext, Element) and
AopConfigUtils.registerAutoProxyCreatorIfNecessary(BeanDefinitionRegistry, Object)
@Deprecated public static void forceAutoProxyCreatorToUseClassProxying(BeanDefinitionRegistry registry)
AopConfigUtils.forceAutoProxyCreatorToUseClassProxying(BeanDefinitionRegistry)
private static void useClassProxyingIfNecessary(BeanDefinitionRegistry registry,
org.w3c.dom.Element sourceElement)
private static void registerComponentIfNecessary(BeanDefinition beanDefinition,
ParserContext parserContext)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||