Package com.huaweicloud.common.event
Class ClosedEventListener
java.lang.Object
com.huaweicloud.common.event.ClosedEventListener
- All Implemented Interfaces:
EventListener,org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>
public class ClosedEventListener
extends Object
implements org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddClosedEventProcessor(ClosedEventProcessor processor) voidonApplicationEvent(org.springframework.context.ApplicationEvent event) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.ApplicationListener
supportsAsyncExecution
-
Constructor Details
-
ClosedEventListener
public ClosedEventListener()
-
-
Method Details
-
addClosedEventProcessor
-
onApplicationEvent
public void onApplicationEvent(org.springframework.context.ApplicationEvent event) - Specified by:
onApplicationEventin interfaceorg.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>
-