Table of Contents

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

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

string

ExitCode

public int ExitCode { get; }

Property Value

int

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements Closeable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

MainClass

public Class MainClass { get; }

Property Value

Class

MainClassName

public String MainClassName { get; }

Property Value

String

MainRealm

public ClassRealm MainRealm { get; }

Property Value

ClassRealm

MainRealmName

public String MainRealmName { get; }

Property Value

String

SystemClassLoader

public ClassLoader SystemClassLoader { get; set; }

Property Value

ClassLoader

World

public ClassWorld World { get; set; }

Property Value

ClassWorld

Methods

Configure(InputStream)

public void Configure(InputStream arg0)

Parameters

arg0 InputStream

InputStream

Exceptions

IOException
ConfigurationException
DuplicateRealmException
NoSuchRealmException

Launch(String[])

public void Launch(String[] arg0)

Parameters

arg0 String[]

String

Exceptions

ClassNotFoundException
IllegalAccessException
InvocationTargetException
NoSuchMethodException
NoSuchRealmException

Main(String[])

public static void Main(String[] arg0)

Parameters

arg0 String[]

String

MainWithExitCode(String[])

public static int MainWithExitCode(String[] arg0)

Parameters

arg0 String[]

String

Returns

int

int

Exceptions

Exception

SetAppMain(String, String)

public void SetAppMain(String arg0, String arg1)

Parameters

arg0 String

String

arg1 String

String