Class ModuleTracingBeanPostProcessor
java.lang.Object
org.springframework.modulith.observability.ModuleTracingSupport
org.springframework.modulith.observability.ModuleTracingBeanPostProcessor
- All Implemented Interfaces:
- Aware,- BeanClassLoaderAware,- BeanPostProcessor
public class ModuleTracingBeanPostProcessor
extends ModuleTracingSupport
implements BeanPostProcessor
A 
BeanPostProcessor that decorates beans exposed by application modules with an interceptor that registers
 module entry and exit to create tracing spans for those invocations.- Author:
- Oliver Drotbohm
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionModuleTracingBeanPostProcessor(ApplicationModulesRuntime runtime, Supplier<io.micrometer.tracing.Tracer> tracer, ConfigurableListableBeanFactory factory) 
- 
Method SummaryMethods inherited from class org.springframework.modulith.observability.ModuleTracingSupportaddAdvisor, addAdvisor, setBeanClassLoaderMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.config.BeanPostProcessorpostProcessBeforeInitialization
- 
Field Details- 
MODULE_BAGGAGE_KEY- See Also:
 
 
- 
- 
Constructor Details- 
ModuleTracingBeanPostProcessorpublic ModuleTracingBeanPostProcessor(ApplicationModulesRuntime runtime, Supplier<io.micrometer.tracing.Tracer> tracer, ConfigurableListableBeanFactory factory) - Parameters:
- runtime- must not be null.
- tracer- must not be null.
 
 
- 
- 
Method Details- 
postProcessAfterInitialization- Specified by:
- postProcessAfterInitializationin interface- BeanPostProcessor
- Throws:
- BeansException
 
 
-