- 博客(7)
- 资源 (1)
- 收藏
- 关注
原创 三种方式获取Class
调用对象的getClass方法,返回该对象的Class对象.Class c=类名.class Class.forName(“类的完整名字”);.
2017-11-11 15:41:20 230
原创 springboot redis 统计
package com.xu.boot; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplicat
2017-09-04 16:14:29 1804
原创 redis统计
package com.xu.boot; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplicat
2017-09-04 12:29:11 1177
原创 tomcat的启动方式
1,看了sprint boot的启动内置tomcat的方式,很好奇,就有了下面的尝试。 public static void main(String[] args) throws Exception { System.out.println("hello tomcat"); new MyTest().start(); } public void start() t
2017-09-01 15:39:59 278
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人