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) 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. -
getAugmentClassLoader
-
getBaseRuntimeClassLoader
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. -
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
-