Package io.quarkus.bootstrap.runner
Class SerializedApplication
- java.lang.Object
-
- io.quarkus.bootstrap.runner.SerializedApplication
-
public class SerializedApplication extends Object
Data that reads serialized Class Path info This format is subject to change, and gives no compatibility guarantees, it is only intended to be used with the same version of Quarkus that created it.
-
-
Field Summary
Fields Modifier and Type Field Description static String
META_INF_VERSIONS
-
Constructor Summary
Constructors Constructor Description SerializedApplication(RunnerClassLoader runnerClassLoader, String mainClass)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMainClass()
RunnerClassLoader
getRunnerClassLoader()
static SerializedApplication
read(InputStream inputStream, Path appRoot)
static void
write(OutputStream outputStream, String mainClass, Path applicationRoot, List<Path> classPath, List<Path> parentFirst, List<String> nonExistentResources)
-
-
-
Field Detail
-
META_INF_VERSIONS
public static final String META_INF_VERSIONS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SerializedApplication
public SerializedApplication(RunnerClassLoader runnerClassLoader, String mainClass)
-
-
Method Detail
-
getRunnerClassLoader
public RunnerClassLoader getRunnerClassLoader()
-
getMainClass
public String getMainClass()
-
write
public static void write(OutputStream outputStream, String mainClass, Path applicationRoot, List<Path> classPath, List<Path> parentFirst, List<String> nonExistentResources) throws IOException
- Throws:
IOException
-
read
public static SerializedApplication read(InputStream inputStream, Path appRoot) throws IOException
- Throws:
IOException
-
-