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:
  • Method Details

    • 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 of Function<Map<String, Object>, List<Consumer<BuildChainBuilder>>> which is used to generate a list of build chain customisers to control the build.
    • getOrCreateAugmentClassLoader

      public QuarkusClassLoader getOrCreateAugmentClassLoader()
    • getAugmentClassLoader

      public QuarkusClassLoader getAugmentClassLoader()
      In most cases getOrCreateAugmentClassLoader() 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

      public QuarkusClassLoader 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

      public QuarkusClassLoader getBaseRuntimeClassLoader()
      In most cases getOrCreateBaseRuntimeClassLoader() 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

      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:
      close in interface AutoCloseable