public interface AsyncListener<T,R> extends Listener<T,EventContext<T,R>>
| 限定符和类型 | 方法和说明 |
|---|---|
default void |
afterPropertiesSet() |
default boolean |
enable(T t) |
default void |
subscribe(EventContext<T,R> context) |
handle, supportEventType@SpringAsyncListener default void subscribe(EventContext<T,R> context)
default void afterPropertiesSet()
afterPropertiesSet 在接口中 org.springframework.beans.factory.InitializingBeanCopyright © 2023. All rights reserved.