Package io.quarkus.bootstrap.app
Class CuratedApplication
- java.lang.Object
-
- io.quarkus.bootstrap.app.CuratedApplication
-
- All Implemented Interfaces:
Serializable,AutoCloseable
public class CuratedApplication extends Object implements 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:
- Serialized Form
-
-
Method Summary
-
-
-
Method Detail
-
isFlatClassPath
public boolean isFlatClassPath()
-
getApplicationModel
public ApplicationModel getApplicationModel()
-
getQuarkusBootstrap
public QuarkusBootstrap getQuarkusBootstrap()
-
runInAugmentClassLoader
public Object runInAugmentClassLoader(String consumerName, Map<String,Object> params)
-
getCurationResult
public CurationResult getCurationResult()
-
createAugmentor
public AugmentAction createAugmentor()
-
createAugmentor
public AugmentAction createAugmentor(String functionName, Map<String,Object> props)
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
public QuarkusClassLoader getAugmentClassLoader()
-
getBaseRuntimeClassLoader
public QuarkusClassLoader 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
public QuarkusClassLoader createDeploymentClassLoader()
-
getClassLoaderNameSuffix
public String 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
public boolean isReloadableArtifact(ArtifactKey key)
-
hasReloadableArtifacts
public boolean hasReloadableArtifacts()
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable
-
-