public class ApplicationPreparedEvent extends SpringApplicationEvent
SpringApplication
is starting up and the
ApplicationContext
is fully prepared but not refreshed. The bean definitions
will be loaded and the Environment
is ready for use at this stage.source
Constructor and Description |
---|
ApplicationPreparedEvent(SpringApplication application,
String[] args,
org.springframework.context.ConfigurableApplicationContext context) |
Modifier and Type | Method and Description |
---|---|
org.springframework.context.ConfigurableApplicationContext |
getApplicationContext() |
getArgs, getSpringApplication
getSource, toString
public ApplicationPreparedEvent(SpringApplication application, String[] args, org.springframework.context.ConfigurableApplicationContext context)
application
- the current applicationargs
- the argumemts the application is running withcontext
- the ApplicationContext about to be refreshedCopyright © 2015 Pivotal Software, Inc.. All rights reserved.