Package io.quarkus.bootstrap.app
Class CuratedApplication
java.lang.Object
io.quarkus.bootstrap.app.CuratedApplication
- All Implemented Interfaces:
Serializable,AutoCloseable
The result of the curate step that is done by QuarkusBootstrap.
This is responsible creating all the class loaders used by the application.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()createAugmentor(String functionName, Map<String, Object> props) This creates an augmentor, but uses the supplied class name to customise the build chain.createRuntimeClassLoader(ClassLoader base, Map<String, byte[]> resources, Map<String, byte[]> transformedClasses) createRuntimeClassLoader(Map<String, byte[]> resources, Map<String, byte[]> transformedClasses) In most casesgetOrCreateAugmentClassLoader()should be used but this can be useful if you want to be able to get this instance without creating it (and so potentially get null if it doesn't exist).In most casesgetOrCreateBaseRuntimeClassLoader()should be used but this can be useful if you want to be able to get this instance without creating it (and so potentially get null if it doesn't exist).creates the base runtime class loader.booleanbooleanbooleanrunInAugmentClassLoader(String consumerName, Map<String, Object> params)
-
Method Details
-
isFlatClassPath
public boolean isFlatClassPath() -
getApplicationModel
-
getQuarkusBootstrap
-
runInAugmentClassLoader
-
getCurationResult
-
createAugmentor
-
createAugmentor
This creates an augmentor, but uses the supplied class name to customise the build chain. The class name that is passed in must be the name of an implementation ofFunction<Map<String, Object>, List<Consumer<BuildChainBuilder>>>which is used to generate a list of build chain customisers to control the build. -
getOrCreateAugmentClassLoader
-
getAugmentClassLoader
In most casesgetOrCreateAugmentClassLoader()should be used but this can be useful if you want to be able to get this instance without creating it (and so potentially get null if it doesn't exist). -
getOrCreateBaseRuntimeClassLoader
creates the base runtime class loader. This does not have any generated resources or transformers, these are added by the startup action. The first thing the startup action needs to do is reset this to include generated resources and transformers, as each startup can generate new resources. -
getBaseRuntimeClassLoader
In most casesgetOrCreateBaseRuntimeClassLoader()should be used but this can be useful if you want to be able to get this instance without creating it (and so potentially get null if it doesn't exist). -
createDeploymentClassLoader
-
getClassLoaderNameSuffix
-
createRuntimeClassLoader
public QuarkusClassLoader createRuntimeClassLoader(Map<String, byte[]> resources, Map<String, byte[]> transformedClasses) -
createRuntimeClassLoader
public QuarkusClassLoader createRuntimeClassLoader(ClassLoader base, Map<String, byte[]> resources, Map<String, byte[]> transformedClasses) -
isReloadableArtifact
-
hasReloadableArtifacts
public boolean hasReloadableArtifacts() -
close
public void close()- Specified by:
closein interfaceAutoCloseable
-