Class ModuleEventListener
java.lang.Object
org.springframework.modulith.observability.ModuleEventListener
- All Implemented Interfaces:
EventListener,ApplicationListener<ApplicationEvent>
- Author:
- Oliver Drotbohm
-
Constructor Summary
ConstructorsConstructorDescriptionModuleEventListener(org.springframework.modulith.runtime.ApplicationModulesRuntime runtime, Supplier<io.micrometer.tracing.Tracer> tracer) -
Method Summary
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
-
ModuleEventListener
public ModuleEventListener(org.springframework.modulith.runtime.ApplicationModulesRuntime runtime, Supplier<io.micrometer.tracing.Tracer> tracer) - Parameters:
runtime- must not be null.tracer- must not be null.
-
-
Method Details
-
onApplicationEvent
- Specified by:
onApplicationEventin interfaceApplicationListener<ApplicationEvent>
-