public abstract class OnContextRefreshedEventListener
extends java.lang.Object
implements org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>, org.springframework.context.ApplicationContextAware
ApplicationListener which only listens for
ContextRefreshedEvent and only responds to the first one.| Constructor and Description |
|---|
OnContextRefreshedEventListener() |
OnContextRefreshedEventListener(boolean handleOthers,
int limit) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
handleContextRefreshedEvent(org.springframework.context.event.ContextRefreshedEvent event) |
void |
onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
public OnContextRefreshedEventListener()
public OnContextRefreshedEventListener(boolean handleOthers,
int limit)
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic void onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event)
onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>public abstract void handleContextRefreshedEvent(org.springframework.context.event.ContextRefreshedEvent event)
Version: 5.4.10-ice35-b105
Copyright © 2019 The University of Dundee & Open Microscopy Environment. All Rights Reserved.