欢迎光临!
登录
  • 设置菜单

ZPY博客

JAVA架构师之路

×
MENU
  • Java基础
    • Java
    • jquery
    • Java多线程
    • mysql
    • oracle
    • mybatis
    • 设计模式
    • 计算机底层
  • Spring相关
    • Spring
    • thymeleaf
    • SpringBoot
    • Spring Security
    • SpringCloud
    • Spring Cloud Gateway
  • 分布式相关
    • 全文检索
    • 消息中间件
    • 缓存
    • Apollo
    • Hadoop
    • 分库分表
    • Sentinel
    • zipkin
  • 前端相关
    • ajax
    • FreeMarker
    • html5
    • css
    • php
    • android
    • app
    • angular
    • ng-zorro
    • Vue
    • ionic
    • cordova
    • 微信公众号
    • 微信小程序
  • 工具相关
    • cron
    • eclipse
    • IntelliJ IDEA
    • git
    • gitLab
    • jenkins
    • nexus
    • samba
    • maven
    • mac
    • linux
    • wordpress
  • 资源下载
    • 音乐下载
    • 电影下载
    • 小说下载
  • 其它
    • 海外主机
    • 股票
    • 工作流引擎
    • 爬虫
    • IT用英语单词
首页注解文章

SpringBoot注解中属性实现动态配置

一般来说,注解里的值只能是确定的,比如 @Person(name="dfdfd") 如果我想这个name是从配置文件中动态取的,该如何实现呢?比如下面的写法 @Person(name = "${tes...
2020年6月29日 SpringBoot 浏览量:1,828 次 发表评论
阅读全文

关于SpringBoot里的@PostConstruct和BeanPostProcessor接口

这两天在项目里看到有用到一个@PostConstruct注解,这个注解没怎么见过,查了一下,发现说是在Bean实例化时会执行加了这个注解的函数。突然想起之前在SpringBoot里用到的BeanPos...
2019年7月31日 SpringBoot 浏览量:1,341 次 发表评论
阅读全文

广告位招租,联系QQ 287214764

全部热门文章

  • 梦然-少年.mp3百度云下载梦然-少年.mp3百度云下载03/28 浏览量:19,341 次
  • 锦零-桃花笑.mp3百度云下载锦零-桃花笑.mp3百度云下载03/21 浏览量:9,572 次
  • activiti7与springboot整合启动报错Consider revisiting the entries above or defining a bean of type 'javax.sql.DataSource' in your configurationactiviti7与springboot整合启动报错Consider revisiting the entries above or defining a bean of type ‘javax.sql.DataSource’ in your configuration02/14 浏览量:8,659 次
  • Activiti7实现驳回功能Activiti7实现驳回功能02/21 浏览量:8,408 次
  • Activiti7实现会签节点动态加签Activiti7实现会签节点动态加签03/30 浏览量:7,288 次

近期热门文章

    热评文章

      随机文章

      • SpringBoot开启Mybatis二级缓存 SpringBoot开启Mybatis二级缓存 06/10 浏览量:2,288 次
      • 企业微信回调测试验证通过,但实际配置时验证不通过 企业微信回调测试验证通过,但实际配置时验证不通过 04/10 浏览量:87 次
      • SpringBoot conflicts with existing, non-compatible bean definition of same name and class 的解决办法 SpringBoot conflicts with existing, non-compatible bean definition of same name and class 的解决办法 08/08 浏览量:4,133 次
      • springMVC返回字符串时带了双引号的解决方法 springMVC返回字符串时带了双引号的解决方法 04/10 浏览量:58 次
      • Spring Boot启动报错:Cannot determine embedded database driver class for database type NONE Spring Boot启动报错:Cannot determine embedded database driver class for database type NONE 04/17 浏览量:521 次
      Copyright ©  zpy博客  版权所有.

      登录 找回密码

      输入用户名或电子邮箱地址,您会收到一封新密码链接的电子邮件。

      • 文章目录
      • 繁