public class TapirFactoriesBootstrapStrategy extends Object implements TapirBootstrapStrategy
TapirFactoriesBootstrapStrategy
searches for files called "META-INF/tapir.bootstrap" in the classpath.
There might be multiple files whose precedences can be controlled by using the Order
annotation.Modifier and Type | Field and Description |
---|---|
static String |
BOOTSTRAP_RESOURCE_LOCATION
The location to look for factories.
|
Modifier and Type | Method and Description |
---|---|
Optional<String> |
getBootstrapConfiguration()
Returns the annotation processor's class name for the given processorKey.
|
List<Object> |
getSources()
Returns the sources which are passed to
SpringApplication.run(Object[], String[]) . |
static TapirFactoriesBootstrapStrategy |
instance() |
public static final String BOOTSTRAP_RESOURCE_LOCATION
Can be present in multiple JAR files.
public static TapirFactoriesBootstrapStrategy instance()
public List<Object> getSources()
TapirBootstrapStrategy
SpringApplication.run(Object[], String[])
.getSources
in interface TapirBootstrapStrategy
Copyright © 2018–2021 b+m Informatik AG. All rights reserved.