Table of Contents

Class Configurator

Namespace
Org.Codehaus.Plexus.Classworlds.Launcher
Assembly
MASES.Naven.dll
public class Configurator : ConfigurationHandler, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IConfigurationHandler
Inheritance
Configurator
Implements
Inherited Members

Constructors

Configurator()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public Configurator()

Configurator(ClassWorld)

public Configurator(ClassWorld arg0)

Parameters

arg0 ClassWorld

ClassWorld

Configurator(Launcher)

public Configurator(Launcher arg0)

Parameters

arg0 Launcher

Launcher

Configurator(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 Configurator(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

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

Methods

AddImportFrom(String, String)

public void AddImportFrom(String arg0, String arg1)

Parameters

arg0 String

String

arg1 String

String

Exceptions

NoSuchRealmException

AddLoadFile(File)

public void AddLoadFile(File arg0)

Parameters

arg0 File

File

AddLoadURL(URL)

public void AddLoadURL(URL arg0)

Parameters

arg0 URL

URL

AddRealm(String)

public void AddRealm(String arg0)

Parameters

arg0 String

String

Exceptions

DuplicateRealmException

AssociateRealms()

public void AssociateRealms()

Configure(InputStream)

public void Configure(InputStream arg0)

Parameters

arg0 InputStream

InputStream

Exceptions

IOException
ConfigurationException
DuplicateRealmException
NoSuchRealmException

SetAppMain(String, String)

public void SetAppMain(String arg0, String arg1)

Parameters

arg0 String

String

arg1 String

String

SetClassWorld(ClassWorld)

public void SetClassWorld(ClassWorld arg0)

Parameters

arg0 ClassWorld

ClassWorld