Class DefaultObservedModule
java.lang.Object
org.springframework.modulith.observability.DefaultObservedModule
- All Implemented Interfaces:
- ObservedModule
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanexposes(com.tngtech.archunit.core.domain.JavaClass type) Returns whether theObservedModuleexposes the givenJavaClass.getInvokedMethod(MethodInvocation invocation) Returns the name of the actually invokedMethod.getName()getObservedModuleType(Class<?> type, ApplicationModules modules) Returns theObservedModuleTypefor the given type andApplicationModules.booleanisObservedModule(ApplicationModule module) 
- 
Constructor Details- 
DefaultObservedModuleDefaultObservedModule(ApplicationModule module) Creates a newDefaultObservedModulefor the givenApplicationModule.- Parameters:
- module- must not be null.
 
 
- 
- 
Method Details- 
getName- Specified by:
- getNamein interface- ObservedModule
 
- 
getDisplayName- Specified by:
- getDisplayNamein interface- ObservedModule
 
- 
getInvokedMethodDescription copied from interface:ObservedModuleReturns the name of the actually invokedMethod.- Specified by:
- getInvokedMethodin interface- ObservedModule
- Parameters:
- invocation- must not be null.
- Returns:
 
- 
exposespublic boolean exposes(com.tngtech.archunit.core.domain.JavaClass type) Description copied from interface:ObservedModuleReturns whether theObservedModuleexposes the givenJavaClass.- Specified by:
- exposesin interface- ObservedModule
- Returns:
 
- 
isObservedModule- Specified by:
- isObservedModulein interface- ObservedModule
 
- 
getObservedModuleTypeDescription copied from interface:ObservedModuleReturns theObservedModuleTypefor the given type andApplicationModules.- Specified by:
- getObservedModuleTypein interface- ObservedModule
- Parameters:
- type- must not be null.
- modules- must not be null.
- Returns:
- the ObservedModuleTypefor the given type or null if the type is not to be observed.
 
 
-