Package de.bmiag.tapir.bootstrap
Class ClassBasedBootstrapStrategy
- java.lang.Object
-
- de.bmiag.tapir.bootstrap.ClassBasedBootstrapStrategy
-
- All Implemented Interfaces:
TapirBootstrapStrategy
public class ClassBasedBootstrapStrategy extends java.lang.Object implements TapirBootstrapStrategy
TheClassBasedBootstrapStrategy
simply provides the classes given to the constructor as sources.- Since:
- 2.0.0
- Author:
- Oliver Libutzki <[email protected]>
-
-
Constructor Summary
Constructors Constructor Description ClassBasedBootstrapStrategy(java.lang.Class<?>... configurationClasses)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.Object>
getSources()
Returns the sources which are passed toSpringApplication.run(Object[], String[])
.
-
-
-
Method Detail
-
getSources
public java.util.List<java.lang.Object> getSources()
Description copied from interface:TapirBootstrapStrategy
Returns the sources which are passed toSpringApplication.run(Object[], String[])
.- Specified by:
getSources
in interfaceTapirBootstrapStrategy
- Returns:
- Spring application sources
- Since:
- 2.0.0
-
-