类 PluginSpringApplication
- java.lang.Object
-
- org.springframework.boot.SpringApplication
-
- com.gitee.starblues.bootstrap.PluginSpringApplication
-
public class PluginSpringApplication extends org.springframework.boot.SpringApplication插件SpringApplication实现- 从以下版本开始:
- 3.0.0
- 版本:
- 3.1.0
- 作者:
- starBlues
-
-
字段概要
字段 修饰符和类型 字段 说明 protected SpringPluginProcessorpluginProcessorprotected ProcessorContextprocessorContext
-
构造器概要
构造器 构造器 说明 PluginSpringApplication(SpringPluginProcessor pluginProcessor, ProcessorContext processorContext, Class<?>... primarySources)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected voidbindToSpringApplication(org.springframework.core.env.ConfigurableEnvironment environment)protected voidconfigureEnvironment(org.springframework.core.env.ConfigurableEnvironment environment, String[] args)protected org.springframework.context.ConfigurableApplicationContextcreateApplicationContext()protected org.springframework.context.support.GenericApplicationContextgetApplicationContext()protected org.springframework.beans.factory.support.DefaultListableBeanFactorygetBeanFactory(ProcessorContext processorContext)protected voidrefresh(org.springframework.context.ConfigurableApplicationContext applicationContext)org.springframework.context.ConfigurableApplicationContextrun(String... args)voidsetDefaultPluginConfig()-
从类继承的方法 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
-
-
-
-
字段详细资料
-
pluginProcessor
protected final SpringPluginProcessor pluginProcessor
-
processorContext
protected final ProcessorContext processorContext
-
-
构造器详细资料
-
PluginSpringApplication
public PluginSpringApplication(SpringPluginProcessor pluginProcessor, ProcessorContext processorContext, Class<?>... primarySources)
-
-
方法详细资料
-
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
-
-