1.通过System.Reflection.Assembly 的一些方法得到想要创建的对象的type 2.调用Activator.CreateInstance(type,args) ,创建相应的instance ...
分类:
其他好文 时间:
2021-03-26 15:31:05
阅读次数:
0
@PostConstruct注解的方法在项目启动的时候执行这个方法,也就是在spring容器启动的时候执行,可以加载一些需要提前启动需要或者 @Component public class LogUtil { private static volatile LogUtil instance; @Au ...
分类:
其他好文 时间:
2021-03-26 15:19:40
阅读次数:
0
<?xml version="1.0" encoding="UTF-8"?> <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...
分类:
其他好文 时间:
2021-03-26 15:19:10
阅读次数:
0
https://www.bilibili.com/video/BV12J411M7Sj 会话 用户打开一个浏览器到关闭浏览器,这个过程可以称之为会话。 有状态会话 客户端再次访问服务端时,服务端知道客户端曾经来过,称之为有状态会话。 保存会话的两种技术 cookie 客户端技术(响应,请求) ses ...
分类:
其他好文 时间:
2021-03-18 14:31:42
阅读次数:
0
上一篇关于APP类的构造函数 最后还有三句话 1 static::setInstance($this); 2 $this->instance('app', $this); 3 $this->instance('think\Container', $this); 1 /** 2 * 绑定一个类实例到容 ...
分类:
移动开发 时间:
2021-03-18 14:20:38
阅读次数:
0
call和apply的应用场景: 判断数据类型: Object.prototype.toString用来判断类型再合适不过,借用它我们几乎可以判断所有类型的数据: function isType(data, type) { const typeObj = { '[object String]': ' ...
分类:
移动开发 时间:
2021-03-17 14:28:08
阅读次数:
0
想起一个很好听的名字关注 22017.12.27 18:16:13字数 187阅读 72,109 今天在提交Git的时候,遇到了几个问题,记录一下,方便以后查找O(∩_∩)O 第一个问题 git remote add origin************** fatal: remote origin ...
分类:
其他好文 时间:
2021-03-16 14:12:17
阅读次数:
0
学习完《Java泛型详解》一节中我们了解到,从Java 1.5 版本开始,Java 的 Class 类增加了泛型功能,从而允许使用泛型来限制 Class 类。例如,String.class 的类型实际上是 Class<String>。如果 Class 对应的类暂时未知,则使用 Class<?>。通过 ...
分类:
编程语言 时间:
2021-03-16 14:10:18
阅读次数:
0
在配置好git环境后(即可以执行git命令): https://git-scm.com/downloads git init 初始化成git项目 git remote add origin https://github.com/18476305640/GitUp1.git 在项目加加入远程仓库信息, ...
分类:
其他好文 时间:
2021-03-16 11:44:47
阅读次数:
0
Error: Error launching source instance: Unsupported: The requested configuration is currently not supported. Please check the documentation for suppor ...
分类:
其他好文 时间:
2021-03-15 10:42:10
阅读次数:
0