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