类 PluginSpringApplication


  • public class PluginSpringApplication
    extends org.springframework.boot.SpringApplication
    插件SpringApplication实现
    从以下版本开始:
    3.0.0
    版本:
    3.1.0
    作者:
    starBlues
    • 字段概要

      字段 
      修饰符和类型 字段 说明
      protected SpringPluginProcessor pluginProcessor  
      protected ProcessorContext processorContext  
      • 从类继承的字段 org.springframework.boot.SpringApplication

        BANNER_LOCATION_PROPERTY, BANNER_LOCATION_PROPERTY_VALUE, DEFAULT_CONTEXT_CLASS, DEFAULT_REACTIVE_WEB_CONTEXT_CLASS, DEFAULT_SERVLET_WEB_CONTEXT_CLASS
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      protected void bindToSpringApplication​(org.springframework.core.env.ConfigurableEnvironment environment)  
      protected void configureEnvironment​(org.springframework.core.env.ConfigurableEnvironment environment, String[] args)  
      protected org.springframework.context.ConfigurableApplicationContext createApplicationContext()  
      protected org.springframework.context.support.GenericApplicationContext getApplicationContext()  
      protected org.springframework.beans.factory.support.DefaultListableBeanFactory getBeanFactory​(ProcessorContext processorContext)  
      protected void refresh​(org.springframework.context.ConfigurableApplicationContext applicationContext)  
      org.springframework.context.ConfigurableApplicationContext run​(String... args)  
      void setDefaultPluginConfig()  
      • 从类继承的方法 org.springframework.boot.SpringApplication

        addBootstrapper, addBootstrapRegistryInitializer, addInitializers, addListeners, addPrimarySources, afterRefresh, applyInitializers, configureProfiles, configurePropertySources, createBeanDefinitionLoader, exit, getAdditionalProfiles, getAllSources, getApplicationLog, getApplicationStartup, getClassLoader, getEnvironmentPrefix, getInitializers, getListeners, getMainApplicationClass, getResourceLoader, getShutdownHandlers, getSources, getWebApplicationType, load, logStartupInfo, logStartupProfileInfo, main, postProcessApplicationContext, registerLoggedException, run, run, setAddCommandLineProperties, setAddConversionService, setAdditionalProfiles, setAllowBeanDefinitionOverriding, setApplicationContextClass, setApplicationContextFactory, setApplicationStartup, setBanner, setBannerMode, setBeanNameGenerator, setDefaultProperties, setDefaultProperties, setEnvironment, setEnvironmentPrefix, setHeadless, setInitializers, setLazyInitialization, setListeners, setLogStartupInfo, setMainApplicationClass, setRegisterShutdownHook, setResourceLoader, setSources, setWebApplicationType
    • 方法详细资料

      • getApplicationContext

        protected org.springframework.context.support.GenericApplicationContext getApplicationContext()
      • getBeanFactory

        protected org.springframework.beans.factory.support.DefaultListableBeanFactory getBeanFactory​(ProcessorContext processorContext)
      • setDefaultPluginConfig

        public void setDefaultPluginConfig()
      • configureEnvironment

        protected void configureEnvironment​(org.springframework.core.env.ConfigurableEnvironment environment,
                                            String[] args)
        覆盖:
        configureEnvironment 在类中 org.springframework.boot.SpringApplication
      • bindToSpringApplication

        protected void bindToSpringApplication​(org.springframework.core.env.ConfigurableEnvironment environment)
        覆盖:
        bindToSpringApplication 在类中 org.springframework.boot.SpringApplication
      • createApplicationContext

        protected org.springframework.context.ConfigurableApplicationContext createApplicationContext()
        覆盖:
        createApplicationContext 在类中 org.springframework.boot.SpringApplication
      • run

        public org.springframework.context.ConfigurableApplicationContext run​(String... args)
        覆盖:
        run 在类中 org.springframework.boot.SpringApplication
      • refresh

        protected void refresh​(org.springframework.context.ConfigurableApplicationContext applicationContext)
        覆盖:
        refresh 在类中 org.springframework.boot.SpringApplication