类 ProjectStart

java.lang.Object
org.springframework.boot.web.servlet.support.SpringBootServletInitializer
org.hy.microservice.ProjectStart
所有已实现的接口:
org.springframework.web.WebApplicationInitializer

@SpringBootApplication(exclude={org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration.class,com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure.class}) @EnableAspectJAutoProxy public class ProjectStart extends org.springframework.boot.web.servlet.support.SpringBootServletInitializer
微服务的启动类
版本:
v1.0 v2.0 2021-02-19 添加:支持SpringBoot 2.4.0版本
作者:
ZhengWei(HY)、马龙
  • 字段概要

    字段
    修饰符和类型
    字段
    说明
    static final org.hy.common.PartitionMap<String,OperationLogApi>
     
     

    从类继承的字段 org.springframework.boot.web.servlet.support.SpringBootServletInitializer

    logger
  • 构造器概要

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

    修饰符和类型
    方法
    说明
    org.springframework.boot.web.servlet.ServletRegistrationBean<org.hy.common.xml.plugins.analyse.AnalyseObjectServlet>
    注册Java对象池分析
    org.springframework.boot.web.servlet.ServletRegistrationBean<org.hy.common.xml.plugins.analyse.AnalysesServlet>
    注册分析中心
    org.springframework.boot.web.servlet.ServletRegistrationBean<org.hy.common.xml.plugins.AppBaseServlet>
    注册App接口的基础的Servlet
    static void
    main(String[] args)
     
    protected org.springframework.web.context.WebApplicationContext
    run(org.springframework.boot.SpringApplication i_Application)
    Tomcat 启动Spring Boot
    org.springframework.boot.web.servlet.ServletRegistrationBean<VueServlet>
    注册Vue独立处理机制

    从类继承的方法 org.springframework.boot.web.servlet.support.SpringBootServletInitializer

    configure, createRootApplicationContext, createSpringApplicationBuilder, deregisterJdbcDrivers, onStartup, setRegisterErrorPageFilter

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

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

  • 构造器详细资料

    • ProjectStart

      public ProjectStart()
  • 方法详细资料

    • main

      public static void main(String[] args)
    • run

      protected org.springframework.web.context.WebApplicationContext run(org.springframework.boot.SpringApplication i_Application)
      Tomcat 启动Spring Boot
      覆盖:
      run 在类中 org.springframework.boot.web.servlet.support.SpringBootServletInitializer
      参数:
      i_Application -
      返回:
      另请参阅:
      • SpringBootServletInitializer.run(org.springframework.boot.SpringApplication)
    • vueServlet

      @Bean public org.springframework.boot.web.servlet.ServletRegistrationBean<VueServlet> vueServlet()
      注册Vue独立处理机制
      返回:
    • appServlet

      @Bean public org.springframework.boot.web.servlet.ServletRegistrationBean<org.hy.common.xml.plugins.AppBaseServlet> appServlet()
      注册App接口的基础的Servlet
      返回:
    • analysesServlet

      @Bean public org.springframework.boot.web.servlet.ServletRegistrationBean<org.hy.common.xml.plugins.analyse.AnalysesServlet> analysesServlet()
      注册分析中心
      返回:
    • analyseObjectServlet

      @Bean public org.springframework.boot.web.servlet.ServletRegistrationBean<org.hy.common.xml.plugins.analyse.AnalyseObjectServlet> analyseObjectServlet()
      注册Java对象池分析
      返回: