类 ProjectStartBase
java.lang.Object
org.hy.microservice.common.ProjectStartBase
微服务的启动类
- 版本:
- v1.0 v2.0 2021-02-19 添加:支持SpringBoot 2.4.0版本
- 作者:
- ZhengWei(HY)、马龙
-
字段概要
字段修饰符和类型字段说明static final org.hy.common.TablePartitionRID<String,OperationLogApi> 系统接口的集合。static final Map<String,OperationLogModule> 系统模块的集合。 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static org.springframework.boot.web.servlet.ServletRegistrationBean<org.hy.common.xml.plugins.analyse.AnalyseObjectServlet>注册Java对象池分析static org.springframework.boot.web.servlet.ServletRegistrationBean<org.hy.common.xml.plugins.analyse.AnalysesServlet>注册分析中心static org.springframework.boot.web.servlet.ServletRegistrationBean<org.hy.common.xml.plugins.AppBaseServlet>注册App接口的基础的Servletstatic org.springframework.web.context.WebApplicationContextrun(org.springframework.boot.SpringApplication i_Application) Tomcat 启动Spring Bootstatic org.springframework.boot.web.servlet.ServletRegistrationBean<VueServlet>注册Vue独立处理机制
-
字段详细资料
-
$RequestMappingModules
系统模块的集合。Map.key 为模块编码,即配置了 @RequestMapping(value="模块编码" ,name="模块名称") name属性的映射类 -
$RequestMappingMethods
系统接口的集合。 Map.分区 为模块编码,即配置了 @RequestMapping(value="接口编码" ,name="接口名称") name属性的映射方法 Map.key 为/模块编码/接口编码,即 URL访问路径
-
-
构造器详细资料
-
ProjectStartBase
public ProjectStartBase()
-
-
方法详细资料
-
run
public static org.springframework.web.context.WebApplicationContext run(org.springframework.boot.SpringApplication i_Application) Tomcat 启动Spring Boot- 参数:
i_Application-- 返回:
- 另请参阅:
-
SpringBootServletInitializer.run(org.springframework.boot.SpringApplication)
-
vueServlet
注册Vue独立处理机制- 返回:
-
appServlet
public static org.springframework.boot.web.servlet.ServletRegistrationBean<org.hy.common.xml.plugins.AppBaseServlet> appServlet()注册App接口的基础的Servlet- 返回:
-
analysesServlet
public static org.springframework.boot.web.servlet.ServletRegistrationBean<org.hy.common.xml.plugins.analyse.AnalysesServlet> analysesServlet()注册分析中心- 返回:
-
analyseObjectServlet
public static org.springframework.boot.web.servlet.ServletRegistrationBean<org.hy.common.xml.plugins.analyse.AnalyseObjectServlet> analyseObjectServlet()注册Java对象池分析- 返回:
-