public class RegistryRunListener extends Object implements org.springframework.boot.SpringApplicationRunListener
| 构造器和说明 |
|---|
RegistryRunListener(org.springframework.boot.SpringApplication application,
String[] args) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
contextLoaded(org.springframework.context.ConfigurableApplicationContext configurableApplicationContext) |
void |
contextPrepared(org.springframework.context.ConfigurableApplicationContext configurableApplicationContext) |
void |
environmentPrepared(org.springframework.core.env.ConfigurableEnvironment configurableEnvironment) |
void |
failed(org.springframework.context.ConfigurableApplicationContext context,
Throwable exception) |
void |
finished(org.springframework.context.ConfigurableApplicationContext configurableApplicationContext,
Throwable throwable) |
void |
running(org.springframework.context.ConfigurableApplicationContext context) |
void |
started(org.springframework.context.ConfigurableApplicationContext context) |
void |
starting() |
public RegistryRunListener(org.springframework.boot.SpringApplication application,
String[] args)
public void starting()
starting 在接口中 org.springframework.boot.SpringApplicationRunListenerpublic void environmentPrepared(org.springframework.core.env.ConfigurableEnvironment configurableEnvironment)
environmentPrepared 在接口中 org.springframework.boot.SpringApplicationRunListenerpublic void contextPrepared(org.springframework.context.ConfigurableApplicationContext configurableApplicationContext)
contextPrepared 在接口中 org.springframework.boot.SpringApplicationRunListenerpublic void contextLoaded(org.springframework.context.ConfigurableApplicationContext configurableApplicationContext)
contextLoaded 在接口中 org.springframework.boot.SpringApplicationRunListenerpublic void finished(org.springframework.context.ConfigurableApplicationContext configurableApplicationContext,
Throwable throwable)
finished 在接口中 org.springframework.boot.SpringApplicationRunListenerpublic void started(org.springframework.context.ConfigurableApplicationContext context)
public void running(org.springframework.context.ConfigurableApplicationContext context)
public void failed(org.springframework.context.ConfigurableApplicationContext context,
Throwable exception)
Copyright © 2020. All rights reserved.