Class TestApplicationModules.Factory
java.lang.Object
org.springframework.modulith.test.TestApplicationModules.Factory
- All Implemented Interfaces:
ApplicationModulesFactory
- Enclosing class:
- TestApplicationModules
Custom
ApplicationModulesFactory
to bootstrap an ApplicationModules
instance only considering test
code.- Since:
- 1.2
- Author:
- Oliver Drotbohm
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns theApplicationModules
instance for the given application class.
-
Constructor Details
-
Factory
Factory()
-
-
Method Details
-
of
Description copied from interface:ApplicationModulesFactory
Returns theApplicationModules
instance for the given application class.- Specified by:
of
in interfaceApplicationModulesFactory
- Parameters:
applicationClass
- must not be null.- Returns:
- will never be null.
-