public abstract class AbstractOnceApplicationListener<T extends org.springframework.context.ApplicationEvent> extends Object implements org.springframework.context.ApplicationListener<T>
| 构造器和说明 |
|---|
AbstractOnceApplicationListener() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected String |
conditionalOnClass()
condition on class.
|
protected abstract void |
handleEvent(T event)
handle event.
|
void |
onApplicationEvent(T event) |
public void onApplicationEvent(T event)
onApplicationEvent 在接口中 org.springframework.context.ApplicationListener<T extends org.springframework.context.ApplicationEvent>protected abstract void handleEvent(T event)
event - protected String conditionalOnClass()
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.