Class Launcher
- Namespace
- Org.Codehaus.Plexus.Classworlds.Launcher
- Assembly
- MASES.Naven.dll
public class Launcher : JVMBridgeBase<Launcher>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IJVMBridgeMain
- Inheritance
-
Launcher
- Implements
- Inherited Members
-
JVMBridgeBase<Launcher>.SExecute<TNewClass, TReturn, TConverter>(IJavaType, string, params object[])
Constructors
Launcher()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public Launcher()
Launcher(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
public Launcher(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
ExitCode
public int ExitCode { get; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements Closeable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
MainClass
public Class MainClass { get; }
Property Value
MainClassName
public String MainClassName { get; }
Property Value
MainRealm
public ClassRealm MainRealm { get; }
Property Value
MainRealmName
public String MainRealmName { get; }
Property Value
SystemClassLoader
https://www.javadoc.io/doc/org.codehaus.plexus/plexus-classworlds/2.8.0/org/codehaus/plexus/classworlds/launcher/Launcher.html#getSystemClassLoader() https://www.javadoc.io/doc/org.codehaus.plexus/plexus-classworlds/2.8.0/org/codehaus/plexus/classworlds/launcher/Launcher.html#setSystemClassLoader(java.lang.ClassLoader)
public ClassLoader SystemClassLoader { get; set; }
Property Value
World
https://www.javadoc.io/doc/org.codehaus.plexus/plexus-classworlds/2.8.0/org/codehaus/plexus/classworlds/launcher/Launcher.html#getWorld() https://www.javadoc.io/doc/org.codehaus.plexus/plexus-classworlds/2.8.0/org/codehaus/plexus/classworlds/launcher/Launcher.html#setWorld(org.codehaus.plexus.classworlds.ClassWorld)
public ClassWorld World { get; set; }
Property Value
Methods
Configure(InputStream)
public void Configure(InputStream arg0)
Parameters
arg0
InputStream
Exceptions
Launch(String[])
public void Launch(String[] arg0)
Parameters
Exceptions
- ClassNotFoundException
- IllegalAccessException
- InvocationTargetException
- NoSuchMethodException
- NoSuchRealmException
Main(String[])
public static void Main(String[] arg0)
Parameters
MainWithExitCode(String[])
public static int MainWithExitCode(String[] arg0)
Parameters
Returns
Exceptions
SetAppMain(String, String)
public void SetAppMain(String arg0, String arg1)