Spring Automatic AOP

First, jar can be imported into the project. After copying to the road, you must add as library and load it into the workspace before importing;

The jar package is also placed outside the project directory of the hard disk , Multiple projects can be introduced and shared:

share pictures

Share a picture

Share pictures

Second, xml configuration

1 aop automatic configuration

share picture

Share pictures

2, xml assembly bean, not an annotation method

share picture

3. Code test

 Share picture

Leave a Comment

Your email address will not be published.