标签:
     <aop:declare-parents
                types-matching="com.itany.service.IPersonService+"
                implement-interface="com.itany.service.IIntroduceService"
                default-impl="com.itany.service.impl.IIntroduceServiceImpl"/>
说明:
实例:
        ApplicationContext act=new ClassPathXmlApplicationContext("beans.xml");
        IIntroduceService introduceService = (IIntroduceService) act.getBean("personService");
        introduceService.introduce("testintroduce");
        ((IPersonService) introduceService).save();
从理解上来讲,看认为这个配置实现了introduceService继承了personService
标签:
原文地址:http://www.cnblogs.com/JavaTWW/p/5560185.html