AOP operations in the spring framework and Aspectjweaver.jar and Aopalliance-1.0.jar download addresses contain beans annotations context and AOP constraints

Source: Internet
Author: User

(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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.