(Aspect oriented programming aspect-oriented programming)
First in the original jar package:
Four core jar packages in spring compressed package required
Beans, context, core, and expression
:
Https://pan.baidu.com/s/1qXLHzAW
and log jar Packages
Commons-logging and log4j
:
https://pan.baidu.com/s/1mimTW5i
Add one more
Spring-aop-5.0.1.release.jar (for annotations, included in the Spring-framework library)
Further increase
Spring-aspects-5.0.1.release.jar (included in the Spring-framework library)
Aspectjweaver-1.8.12.jar (Official Http://mvnrepository.com/artifact/org.aspectj/aspectjweaver)
Aopalliance-1.0.jar (Official http://mvnrepository.com/artifact/aopalliance/aopalliance/1.0)
Then locate the xsd-configuration.html file for the HTML folder in the Docs folder in the Spring-framework library
Find the relevant constraints for AOP. (Constraints that do not contain annotations)
<?XML version= "1.0" encoding= "UTF-8"?><Beansxmlns= "Http://www.springframework.org/schema/beans"Xmlns:xsi= "Http://www.w3.org/2001/XMLSchema-instance"XMLNS:AOP= "HTTP://WWW.SPRINGFRAMEWORK.ORG/SCHEMA/AOP"xsi:schemalocation= "Http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd HTTP://WWW.SPRINGFRAMEWORK.ORG/SCHEMA/AOP http://www.springframework.org/schema/aop/spring-aop.xsd "> <!--Bean Definitions here -</Beans>
Previous annotations context constraints (including beans constraints below)
<?XML version= "1.0" encoding= "UTF-8"?><Beansxmlns= "Http://www.springframework.org/schema/beans"Xmlns:xsi= "Http://www.w3.org/2001/XMLSchema-instance"Xmlns:context= "Http://www.springframework.org/schema/context"xsi:schemalocation= "Http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd Http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd " > <!--Bean Definitions here -</Beans>
Before the beans of the constraint
<?XML version= "1.0" encoding= "UTF-8"?><Beansxmlns= "Http://www.springframework.org/schema/beans"Xmlns:xsi= "Http://www.w3.org/2001/XMLSchema-instance"xsi:schemalocation= "Http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd" > <BeanID= "Foo"class= "X.y.foo" > < Propertyname= "Name"value= "Rick"/> </Bean></Beans>
Constraints that contain beans annotations context and AOP
<?XML version= "1.0" encoding= "UTF-8"?><Beansxmlns= "Http://www.springframework.org/schema/beans"Xmlns:xsi= "Http://www.w3.org/2001/XMLSchema-instance"Xmlns:context= "Http://www.springframework.org/schema/context"XMLNS:AOP= "HTTP://WWW.SPRINGFRAMEWORK.ORG/SCHEMA/AOP"xsi:schemalocation= "Http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd Http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd HTTP://WWW.SPRINGFRAMEWORK.ORG/SCHEMA/AOP http://www.springframework.org/schema/aop/spring-aop.xsd "> <!--Turn on annotation scanning - <Context:component-scanBase-package= "Com.swift"></Context:component-scan></Beans>
AOP operations in the spring framework and Aspectjweaver.jar and Aopalliance-1.0.jar contain beans annotations context and AOP constraints