Class ApplicationModulesRuntime
java.lang.Object
org.springframework.modulith.runtime.ApplicationModulesRuntime
- All Implemented Interfaces:
- Supplier<ApplicationModules>
Bootstrap type to make sure we only bootstrap the initialization of a 
ApplicationModules instance once per
 application class.- Author:
- Oliver Drotbohm
- 
Constructor SummaryConstructorsConstructorDescriptionApplicationModulesRuntime(Supplier<ApplicationModules> modules, ApplicationRuntime runtime) 
- 
Method SummaryModifier and TypeMethodDescriptionget()Class<?>getUserClass(Object bean, String beanName) Returns the actual user class for a given bean and bean name.booleanisApplicationClass(Class<?> type) Returns whether a givenClassis considered an application one (versus Framework ones).
- 
Constructor Details- 
ApplicationModulesRuntime- Parameters:
- modules- must not be null.
- runtime- must not be null.
 
 
- 
- 
Method Details- 
get- Specified by:
- getin interface- Supplier<ApplicationModules>
 
- 
isApplicationClassReturns whether a givenClassis considered an application one (versus Framework ones).- Parameters:
- type-
- Returns:
 
- 
getUserClassReturns the actual user class for a given bean and bean name.- Parameters:
- bean- must not be null.
- beanName- must not be null or empty.
- Returns:
- will never be null.
 
 
-