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.ApplicationContextAware
org.springframework.beans.BeansException
public 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.6-ice35-b87
Copyright © 2018 The University of Dundee & Open Microscopy Environment. All Rights Reserved.