Class ModuleEventListener
java.lang.Object
org.springframework.modulith.observability.ModuleEventListener
- All Implemented Interfaces:
EventListener
,ApplicationListener<ApplicationEvent>
- Author:
- Oliver Drotbohm
-
Constructor Summary
ConstructorsConstructorDescriptionModuleEventListener
(ApplicationModulesRuntime runtime, Supplier<io.micrometer.tracing.Tracer> tracer) -
Method Summary
-
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>
-