Search in sources :

Example 1 with AnsiOutputApplicationListener

use of org.springframework.boot.context.config.AnsiOutputApplicationListener in project spring-boot by spring-projects.

the class RemoteSpringApplication method getListeners.

private Collection<ApplicationListener<?>> getListeners() {
    List<ApplicationListener<?>> listeners = new ArrayList<>();
    listeners.add(new AnsiOutputApplicationListener());
    listeners.add(new ConfigFileApplicationListener());
    listeners.add(new ClasspathLoggingApplicationListener());
    listeners.add(new LoggingApplicationListener());
    listeners.add(new RemoteUrlPropertyExtractor());
    return listeners;
}
Also used : ArrayList(java.util.ArrayList) ClasspathLoggingApplicationListener(org.springframework.boot.context.logging.ClasspathLoggingApplicationListener) ApplicationListener(org.springframework.context.ApplicationListener) AnsiOutputApplicationListener(org.springframework.boot.context.config.AnsiOutputApplicationListener) LoggingApplicationListener(org.springframework.boot.context.logging.LoggingApplicationListener) ConfigFileApplicationListener(org.springframework.boot.context.config.ConfigFileApplicationListener) ConfigFileApplicationListener(org.springframework.boot.context.config.ConfigFileApplicationListener) AnsiOutputApplicationListener(org.springframework.boot.context.config.AnsiOutputApplicationListener) ClasspathLoggingApplicationListener(org.springframework.boot.context.logging.ClasspathLoggingApplicationListener) LoggingApplicationListener(org.springframework.boot.context.logging.LoggingApplicationListener) ClasspathLoggingApplicationListener(org.springframework.boot.context.logging.ClasspathLoggingApplicationListener)

Aggregations

ArrayList (java.util.ArrayList)1 AnsiOutputApplicationListener (org.springframework.boot.context.config.AnsiOutputApplicationListener)1 ConfigFileApplicationListener (org.springframework.boot.context.config.ConfigFileApplicationListener)1 ClasspathLoggingApplicationListener (org.springframework.boot.context.logging.ClasspathLoggingApplicationListener)1 LoggingApplicationListener (org.springframework.boot.context.logging.LoggingApplicationListener)1 ApplicationListener (org.springframework.context.ApplicationListener)1