所有示例均在gihub(ssh_base)中====>https://github.com/chengyangyang

注解含义(主要针对spring)

一、为什么要用注解?

  • 方便快捷
  • 灵活使用,代码简洁清晰
  •   。。。。。

二、注解的含义

注解 含义
@Profile
org.springframework.context.annotation
指定组件在spring 的哪个环境下才能够加载。对应的是 
spring.profiles.active
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
posted @ 2019-12-27 09:54  ☞书香门第☜  阅读(125)  评论(0编辑  收藏  举报
http://count.knowsky.com/count1/count.asp?id=434520&sx=1&ys=64"