Table of Contents

Class JNetCoreBase<T>

Namespace
MASES.JNet
Assembly
MASES.JNet.dll

Public entry point of JNetCoreBase<T>

public abstract class JNetCoreBase<T> : SetupJVMWrapper<T>, IJVMWrapperManagement, IJVMBridgeCore where T : JNetCoreBase<T>

Type Parameters

T
Inheritance
SetupJVMWrapper
SetupJVMWrapper<T>
JNetCoreBase<T>
Implements
IJVMWrapperManagement
IJVMBridgeCore
Derived
Inherited Members
SetupJVMWrapper<T>.CreateGlobalInstance()
SetupJVMWrapper<T>.HasGlobalInstance
SetupJVMWrapper<T>.GlobalInstance
SetupJVMWrapper<T>.ScopedOn
SetupJVMWrapper<T>.ScopedOnVersion
SetupJVMWrapper.Initialize()
SetupJVMWrapper.InitializeListener(IJVMBridgeBase)
SetupJVMWrapper.GetListener(IJavaObject)
SetupJVMWrapper.ReleaseListener(IJVMBridgeBase)
SetupJVMWrapper.ReleaseJCGraphicContainer(IJCGraphicContainer)
SetupJVMWrapper.InitializeRemote()
SetupJVMWrapper.FilteredArgs
SetupJVMWrapper.IsContainer
SetupJVMWrapper.ContainerId
SetupJVMWrapper.FeatureLevel
SetupJVMWrapper.EnableCriticalMethods
SetupJVMWrapper.EnableCriticalMethodsOnGetThreshold
SetupJVMWrapper.EnableCriticalMethodsOnGet
SetupJVMWrapper.EnableCriticalMethodsOnSetThreshold
SetupJVMWrapper.EnableCriticalMethodsOnSet
SetupJVMWrapper.JVM
SetupJVMWrapper.Management
SetupJVMWrapper.JVMStats
SetupJVMWrapper.DynJVM
SetupJVMWrapper.RemoteBridge
SetupJVMWrapper.RemoteJCOBridge
SetupJVMWrapper.ModulePath
SetupJVMWrapper.JVMPackages
SetupJVMWrapper.SuppressFinalize
SetupJVMWrapper.Globalize
SetupJVMWrapper.LastBindingException

Constructors

JNetCoreBase()

Public ctor

public JNetCoreBase()

Fields

JARsSubFolder

The path where JARs are stored

public const string JARsSubFolder = "jars"

Field Value

string

Parser

Command line Parser instance

protected static readonly Parser Parser

Field Value

Parser

Properties

ApplicationDebugSuspendFlag

public static string ApplicationDebugSuspendFlag { get; set; }

Property Value

string

ApplicationEnableDebug

public static bool? ApplicationEnableDebug { get; set; }

Property Value

bool?

ApplicationHeapSize

public static string ApplicationHeapSize { get; set; }

Property Value

string

ApplicationInitialHeapSize

public static string ApplicationInitialHeapSize { get; set; }

Property Value

string

ApplicationJDKHome

public static string ApplicationJDKHome { get; set; }

Property Value

string

ApplicationJNIOutputFile

public static string ApplicationJNIOutputFile { get; set; }

Property Value

string

ApplicationJNIVerbosity

public static string ApplicationJNIVerbosity { get; set; }

Property Value

string

ApplicationJVMPath

public static string ApplicationJVMPath { get; set; }

Property Value

string

ApplicationJavaDebugOpts

public static string ApplicationJavaDebugOpts { get; set; }

Property Value

string

ApplicationJavaDebugPort

public static short? ApplicationJavaDebugPort { get; set; }

Property Value

short?

ApplicationJmxPort

public static short? ApplicationJmxPort { get; set; }

Property Value

short?

ApplicationLicensePath

public static string ApplicationLicensePath { get; set; }

Property Value

string

ApplicationLogClassPath

Sets the global value of the log class path

public static bool? ApplicationLogClassPath { get; set; }

Property Value

bool?

ClassPath

public override sealed string ClassPath { get; }

Property Value

string

CommandLineArguments

IEnumerable<T> for command line

public virtual IEnumerable<IArgumentMetadata> CommandLineArguments { get; }

Property Value

IEnumerable<IArgumentMetadata>

DebugSuspendFlag

public override string DebugSuspendFlag { get; }

Property Value

string

EnableDebug

public override bool EnableDebug { get; }

Property Value

bool

GlobalHeapSize

public override string GlobalHeapSize { get; }

Property Value

string

InitialHeapSize

public override string InitialHeapSize { get; }

Property Value

string

JDKHome

public override string JDKHome { get; }

Property Value

string

JNIOutputFile

public override string JNIOutputFile { get; }

Property Value

string

JNIVerbosity

public override string JNIVerbosity { get; }

Property Value

string

JVMOptions

public override sealed IEnumerable<KeyValuePair<string, string>> JVMOptions { get; }

Property Value

IEnumerable<KeyValuePair<string, string>>

JVMPath

public override string JVMPath { get; }

Property Value

string

JavaDebugOpts

public override string JavaDebugOpts { get; }

Property Value

string

JavaDebugPort

public override short JavaDebugPort { get; }

Property Value

short

JmxPort

public override short? JmxPort { get; }

Property Value

short?

LicensePath

public override string LicensePath { get; }

Property Value

string

LogClassPath

Set to true to print ClassPath

public virtual bool LogClassPath { get; }

Property Value

bool

Options

Adds options to the JVM

protected abstract IDictionary<string, string> Options { get; }

Property Value

IDictionary<string, string>

ParsedArgs

Arguments parsed

public IEnumerable<IArgumentMetadataParsed> ParsedArgs { get; }

Property Value

IEnumerable<IArgumentMetadataParsed>

PathToParse

A list of paths to be used in initialization of JVM ClassPath

protected virtual IList<string> PathToParse { get; }

Property Value

IList<string>

Methods

HelpInfo(int?)

public static string HelpInfo(int? width = null)

Parameters

width int?

Returns

string

Launch(Type, params string[])

Launch the type with the args arguments

public static void Launch(Type type, params string[] args)

Parameters

type Type

The Type extending MASES.JCOBridge.C2JBridge.IJVMBridgeMain

args string[]

The arguments of the main method

Launch<TClass>(params string[])

Launch the TClass class with the args arguments

public static void Launch<TClass>(params string[] args) where TClass : IJVMBridgeMain

Parameters

args string[]

The arguments of the main method

Type Parameters

TClass

A type which is defined as Main-Class

New(string)

Retrieve the object associated to className

public static dynamic New(string className)

Parameters

className string

The java class to be instantiated

Returns

dynamic

The instance associated to the requested className

New(string, params object[])

Retrieve the object associated to className

public static dynamic New(string className, params object[] args)

Parameters

className string

The java class to be instantiated

args object[]

The argument of the costructor

Returns

dynamic

The instance associated to the requested className

ProcessCommandLine()

protected override string[] ProcessCommandLine()

Returns

string[]