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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()AugmentActioncreateAugmentor()AugmentActioncreateAugmentor(String functionName, Map<String,Object> props)This creates an augmentor, but uses the supplied class name to customise the build chain.QuarkusClassLoadercreateDeploymentClassLoader()QuarkusClassLoadercreateRuntimeClassLoader(ClassLoader base, Map<String,byte[]> resources, Map<String,byte[]> transformedClasses)QuarkusClassLoadercreateRuntimeClassLoader(Map<String,byte[]> resources, Map<String,byte[]> transformedClasses)AppModelgetAppModel()QuarkusClassLoadergetAugmentClassLoader()QuarkusClassLoadergetBaseRuntimeClassLoader()creates the base runtime class loader.CurationResultgetCurationResult()QuarkusBootstrapgetQuarkusBootstrap()List<AppDependency>getUpdatedDeps()booleanhasUpdatedDeps()ObjectrunInAugmentClassLoader(String consumerName, Map<String,Object> params)
-
-
-
Method Detail
-
getAppModel
public AppModel getAppModel()
-
getQuarkusBootstrap
public QuarkusBootstrap getQuarkusBootstrap()
-
hasUpdatedDeps
public boolean hasUpdatedDeps()
-
getUpdatedDeps
public List<AppDependency> getUpdatedDeps()
-
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()
-
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)
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable
-
-