博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Spring AOP 使用场景
阅读量:6949 次
发布时间:2019-06-27

本文共 342 字,大约阅读时间需要 1 分钟。

hot3.png

AOP使用场景

AOP用来封装横切关注点,具体可以在下面的场景中使用:

 

Authentication 权限

Caching 缓存

Context passing 内容传递

Error handling 错误处理

Lazy loading 懒加载

Debugging  调试

logging, tracing, profiling and monitoring 记录跟踪 优化 校准

Performance optimization 性能优化

Persistence  持久化

Resource pooling 资源池

Synchronization 同步

Transactions 事务

转载于:https://my.oschina.net/u/1455908/blog/306629

你可能感兴趣的文章