1 16 17 package org.springframework.aop.config; 18 19 import org.springframework.aop.aspectj.AspectJExpressionPointcut; 20 import org.springframework.beans.factory.xml.BeanDefinitionParser; 21 import org.springframework.beans.factory.xml.NamespaceHandlerSupport; 22 23 55 public class AopNamespaceHandler extends NamespaceHandlerSupport { 56 57 62 public void init() { 63 registerBeanDefinitionParser("config", new ConfigBeanDefinitionParser()); 64 registerBeanDefinitionParser("spring-configured", new SpringConfiguredBeanDefinitionParser()); 65 registerBeanDefinitionParser("aspectj-autoproxy", new AspectJAutoProxyBeanDefinitionParser()); 66 registerBeanDefinitionDecorator("scoped-proxy", new ScopedProxyBeanDefinitionDecorator()); 67 } 68 69 } 70 | Popular Tags |