类 ProjectStartBase

java.lang.Object
org.hy.microservice.common.ProjectStartBase

public class ProjectStartBase extends Object
微服务的启动类
版本:
v1.0 v2.0 2021-02-19 添加:支持SpringBoot 2.4.0版本
作者:
ZhengWei(HY)、马龙
  • 字段概要

    字段
    修饰符和类型
    字段
    说明
    static final org.hy.common.TablePartitionRID<String,OperationLogApi>
    系统接口的集合。
    系统模块的集合。
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    修饰符和类型
    方法
    说明
    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接口的基础的Servlet
    static org.springframework.web.context.WebApplicationContext
    run(org.springframework.boot.SpringApplication i_Application)
    Tomcat 启动Spring Boot
    static org.springframework.boot.web.servlet.ServletRegistrationBean<VueServlet>
    注册Vue独立处理机制

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 字段详细资料

    • $RequestMappingModules

      public static final Map<String,OperationLogModule> $RequestMappingModules
      系统模块的集合。Map.key 为模块编码,即配置了 @RequestMapping(value="模块编码" ,name="模块名称") name属性的映射类
    • $RequestMappingMethods

      public static final org.hy.common.TablePartitionRID<String,OperationLogApi> $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

      public static org.springframework.boot.web.servlet.ServletRegistrationBean<VueServlet> 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对象池分析
      返回: