@Component public class ApplicationStartedListener extends Object implements org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationReadyEvent>
| Constructor and Description |
|---|
ApplicationStartedListener() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isValidContext(org.springframework.context.ApplicationContext context)
Checks that this event is fired on the context, that contains the CdsRuntimeConfigurer
|
void |
onApplicationEvent(org.springframework.boot.context.event.ApplicationReadyEvent applicationReadyEvent) |
public void onApplicationEvent(org.springframework.boot.context.event.ApplicationReadyEvent applicationReadyEvent)
onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationReadyEvent>public static boolean isValidContext(org.springframework.context.ApplicationContext context)
context - the ApplicationContextCopyright © 2020. All rights reserved.