AOP可以像@Controller或@Service这样的切入点。但是如果没有spring的注解,它在Class上就不能很好地工作。salesOrderModule = new SalesOrderModule(salesOrder); return salesOrderModule; }SalesOrderModule so = SalesOrderModul
我有两个web应用程序和耳朵级jar文件组成的应用程序。一个web应用程序(假设SPApp)是使用Spring构建的,另一个是使用Struts (STApp)构建的。我想共享在这里定义的方面类SystemArchitecture of SPApp,
在STApp中。于是,我将方面类SystemArchitecture移到STApp中,令人惊讶的是,它起了作用。当我将SystemArchitecture放在EAR级库中时,我不