![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
spring
老王海明威
这个作者很懒,什么都没留下…
展开
-
spring boot是如何启动的
spring boot是如何启动的? 运行org.springframework.boot.loader.JarLauncher类,就是Main-Class JarLauncher启动com.example.demo.DemoApplication,就是Start-Class xxx.jar\META-INF\MANIFEST.MF 文件内容如下: Manifest-Version: 1.0 Created-By: Maven Jar Plugin 3.2.0 Build-Jdk-Spec: 11原创 2021-06-30 23:17:00 · 217 阅读 · 0 评论 -
删除一个字符串中指定的多个字符的算法
删除一个字符串中指定的多个字符的算法 源码出处:org.springframework.util.StringUtils#deleteAny /** * Delete any character in a given {@code String}. * @param inString the original {@code String} * @param charsToDelete a set of characters to delete. * E.g. "az\n" will del原创 2021-05-13 22:59:23 · 579 阅读 · 0 评论 -
spring InitializingBean 接口
InitializingBean接口为bean提供了初始化方法的方式,它只包括afterPropertiesSet方法,凡是继承该接口的类,在初始化bean的时候都会执行该方法 public interface InitializingBean { /** * Invoked by the containing {@code BeanFactory} after it has set all bean properties * and satisfied {@link BeanFactoryAw原创 2021-05-12 23:11:54 · 74 阅读 · 0 评论