public class ParentContextCloserApplicationListener extends ObjectSE implements ApplicationListener<ParentContextApplicationContextInitializer.ParentContextAvailableEvent>, ApplicationContextAware, Ordered
修飾子と型 | クラスと説明 |
---|---|
protected static class | ParentContextCloserApplicationListener.ContextCloserListener ApplicationListener でコンテキストを閉じます。 |
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
コンストラクターと説明 |
---|
ParentContextCloserApplicationListener() |
修飾子と型 | メソッドと説明 |
---|---|
protected ParentContextCloserApplicationListener.ContextCloserListener | createContextCloserListener(ConfigurableApplicationContext child) サブクラスはオーバーライドして、ContextCloserListener の独自のサブクラスを作成できます。 |
int | getOrder() |
void | onApplicationEvent(ParentContextApplicationContextInitializer.ParentContextAvailableEvent event) |
void | setApplicationContext(ApplicationContext context) |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
forPayload
public void setApplicationContext(ApplicationContext context) throws BeansException
ApplicationContextAware
の setApplicationContext
BeansException
public void onApplicationEvent(ParentContextApplicationContextInitializer.ParentContextAvailableEvent event)
protected ParentContextCloserApplicationListener.ContextCloserListener createContextCloserListener(ConfigurableApplicationContext child)
child
- 子コンテキスト ParentContextCloserApplicationListener.ContextCloserListener