Package io.quarkus.bootstrap.app
Class QuarkusBootstrap
- java.lang.Object
-
- io.quarkus.bootstrap.app.QuarkusBootstrap
-
- All Implemented Interfaces:
Serializable
public class QuarkusBootstrap extends Object implements Serializable
The entry point for starting/building a Quarkus application. This class sets up the base class loading architecture. Once this has been established control is passed into the new class loaders to allow for customisation of the boot process.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classQuarkusBootstrap.Builderstatic classQuarkusBootstrap.Mode
-
Method Summary
-
-
-
Method Detail
-
bootstrap
public CuratedApplication bootstrap() throws BootstrapException
- Throws:
BootstrapException
-
createClassLoadingConfig
public static ConfiguredClassLoading createClassLoadingConfig(PathCollection applicationRoot, QuarkusBootstrap.Mode mode, List<ArtifactKey> parentFirstArtifacts)
-
getAppModelResolver
public AppModelResolver getAppModelResolver()
-
getApplicationRoot
public PathCollection getApplicationRoot()
-
getAdditionalApplicationArchives
public List<AdditionalDependency> getAdditionalApplicationArchives()
-
getBuildSystemProperties
public Properties getBuildSystemProperties()
-
getProjectRoot
public Path getProjectRoot()
-
getMode
public QuarkusBootstrap.Mode getMode()
-
isAuxiliaryApplication
public boolean isAuxiliaryApplication()
-
isHostApplicationIsTestOnly
public boolean isHostApplicationIsTestOnly()
-
builder
public static QuarkusBootstrap.Builder builder()
-
builder
@Deprecated public static QuarkusBootstrap.Builder builder(Path applicationRoot)
Deprecated.
-
getBaseName
public String getBaseName()
-
getBaseClassLoader
public ClassLoader getBaseClassLoader()
-
getTargetDirectory
public Path getTargetDirectory()
-
isIsolateDeployment
public boolean isIsolateDeployment()
-
isRebuild
public boolean isRebuild()
-
isAssertionsEnabled
public boolean isAssertionsEnabled()
-
getClassLoaderEventListeners
public List<ClassLoaderEventListener> getClassLoaderEventListeners()
-
clonedBuilder
public QuarkusBootstrap.Builder clonedBuilder()
-
isFlatClassPath
public boolean isFlatClassPath()
-
isTest
public boolean isTest()
-
-