public class ApplicationReadyEvent extends SpringApplicationEvent
SpringApplication
itself, but beware of modifying its internal state since all initialization steps
will have been completed by then.ApplicationFailedEvent
,
Serialized Formsource
Constructor and Description |
---|
ApplicationReadyEvent(SpringApplication application,
String[] args,
ConfigurableApplicationContext context) |
Modifier and Type | Method and Description |
---|---|
ConfigurableApplicationContext |
getApplicationContext() |
getArgs, getSpringApplication
getTimestamp
getSource, toString
public ApplicationReadyEvent(SpringApplication application, String[] args, ConfigurableApplicationContext context)
application
- the current applicationargs
- the arguments the application is running withcontext
- the context that was being created (maybe null)public ConfigurableApplicationContext getApplicationContext()
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.