public class PayaraMicroLauncher extends ExecutableArchiveLauncher
| Constructor and Description |
|---|
PayaraMicroLauncher() |
| Modifier and Type | Method and Description |
|---|---|
static PayaraMicroBoot |
getBootClass()
Boot method via Micro.getInstance()
|
protected boolean |
isNestedArchive(Archive.Entry entry)
Determine if the specified
JarEntry is a nested item that should be added
to the classpath. |
static void |
main(String[] args)
Boot method via java -jar
|
protected void |
postProcessClassPathArchives(List<Archive> archives)
Called to post-process archive entries before they are used.
|
getArchive, getClassPathArchives, getMainClasscreateArchive, createClassLoader, createClassLoader, createMainMethodRunner, launch, launchpublic static void main(String[] args) throws Exception
args - Exceptionpublic static PayaraMicroBoot getBootClass() throws InstantiationException, IllegalAccessException, ClassNotFoundException, Exception
InstantiationExceptionIllegalAccessExceptionClassNotFoundExceptionExceptionprotected boolean isNestedArchive(Archive.Entry entry)
ExecutableArchiveLauncherJarEntry is a nested item that should be added
to the classpath. The method is called once for each entry.isNestedArchive in class ExecutableArchiveLauncherentry - the jar entrytrue if the entry is a nested item (jar or folder)protected void postProcessClassPathArchives(List<Archive> archives) throws Exception
ExecutableArchiveLauncherpostProcessClassPathArchives in class ExecutableArchiveLauncherarchives - the archivesException - if the post processing failsCopyright © 2017. All rights reserved.