public class SpringObjects extends Object implements org.springframework.boot.SpringApplicationRunListener
| Constructor and Description |
|---|
SpringObjects(org.springframework.boot.SpringApplication application,
String[] args) |
| Modifier and Type | Method and Description |
|---|---|
void |
environmentPrepared(org.springframework.core.env.ConfigurableEnvironment environment) |
static <T> List<T> |
getBeans(Class<T> clazz)
Loads beans which are optional and of which the class is not guaranteed to be on the class path
|
static org.springframework.core.env.Environment |
getEnvironment() |
static org.springframework.context.MessageSource |
getMessageSource() |
void |
started(org.springframework.context.ConfigurableApplicationContext context) |
public SpringObjects(org.springframework.boot.SpringApplication application,
String[] args)
public void environmentPrepared(org.springframework.core.env.ConfigurableEnvironment environment)
environmentPrepared in interface org.springframework.boot.SpringApplicationRunListenerpublic void started(org.springframework.context.ConfigurableApplicationContext context)
started in interface org.springframework.boot.SpringApplicationRunListenerpublic static org.springframework.core.env.Environment getEnvironment()
public static org.springframework.context.MessageSource getMessageSource()
Copyright © 2021. All rights reserved.