Class JNetCoreBase<T>
Public entry point of JNetCoreBase<T>
public abstract class JNetCoreBase<T> : SetupJVMWrapper<T>, IJVMWrapperManagement, IJVMBridgeCore where T : JNetCoreBase<T>
Type Parameters
T
- Inheritance
-
SetupJVMWrapperSetupJVMWrapper<T>JNetCoreBase<T>
- Implements
-
IJVMWrapperManagementIJVMBridgeCore
- Derived
- Inherited Members
-
SetupJVMWrapper<T>.CreateGlobalInstance()SetupJVMWrapper<T>.HasGlobalInstanceSetupJVMWrapper<T>.GlobalInstanceSetupJVMWrapper<T>.ScopedOnSetupJVMWrapper<T>.ScopedOnVersionSetupJVMWrapper.Initialize()SetupJVMWrapper.InitializeListener(IJVMBridgeBase)SetupJVMWrapper.GetListener(IJavaObject)SetupJVMWrapper.ReleaseListener(IJVMBridgeBase)SetupJVMWrapper.ReleaseJCGraphicContainer(IJCGraphicContainer)SetupJVMWrapper.InitializeRemote()SetupJVMWrapper.FilteredArgsSetupJVMWrapper.IsContainerSetupJVMWrapper.ContainerIdSetupJVMWrapper.FeatureLevelSetupJVMWrapper.EnableCriticalMethodsSetupJVMWrapper.EnableCriticalMethodsOnGetThresholdSetupJVMWrapper.EnableCriticalMethodsOnGetSetupJVMWrapper.EnableCriticalMethodsOnSetThresholdSetupJVMWrapper.EnableCriticalMethodsOnSetSetupJVMWrapper.JVMSetupJVMWrapper.ManagementSetupJVMWrapper.JVMStatsSetupJVMWrapper.DynJVMSetupJVMWrapper.RemoteBridgeSetupJVMWrapper.RemoteJCOBridgeSetupJVMWrapper.ModulePathSetupJVMWrapper.JVMPackagesSetupJVMWrapper.SuppressFinalizeSetupJVMWrapper.GlobalizeSetupJVMWrapper.LastBindingException
Constructors
JNetCoreBase()
Public ctor
public JNetCoreBase()
Fields
JARsSubFolder
The path where JARs are stored
public const string JARsSubFolder = "jars"
Field Value
Parser
Command line Parser instance
protected static readonly Parser Parser
Field Value
Properties
ApplicationDebugSuspendFlag
Sets the value of https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_SetupJVMWrapper_DebugSuspendFlag.htm
public static string ApplicationDebugSuspendFlag { get; set; }
Property Value
ApplicationEnableDebug
Sets the value of https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_SetupJVMWrapper_EnableDebug.htm
public static bool? ApplicationEnableDebug { get; set; }
Property Value
- bool?
ApplicationHeapSize
Sets the global value of https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_SetupJVMWrapper_GlobalHeapSize.htm
public static string ApplicationHeapSize { get; set; }
Property Value
ApplicationInitialHeapSize
Sets the global value of the https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_SetupJVMWrapper_InitialHeapSize.htm
public static string ApplicationInitialHeapSize { get; set; }
Property Value
ApplicationJDKHome
Sets the value of https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_SetupJVMWrapper_JDKHome.htm
public static string ApplicationJDKHome { get; set; }
Property Value
ApplicationJNIOutputFile
Sets the value of https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_SetupJVMWrapper_JNIOutputFile.htm
public static string ApplicationJNIOutputFile { get; set; }
Property Value
ApplicationJNIVerbosity
Sets the value of https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_SetupJVMWrapper_JNIVerbosity.htm
public static string ApplicationJNIVerbosity { get; set; }
Property Value
ApplicationJVMPath
Sets the value of https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_SetupJVMWrapper_JVMPath.htm
public static string ApplicationJVMPath { get; set; }
Property Value
ApplicationJavaDebugOpts
Sets the value of https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_SetupJVMWrapper_JavaDebugOpts.htm
public static string ApplicationJavaDebugOpts { get; set; }
Property Value
ApplicationJavaDebugPort
Sets the value of https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_SetupJVMWrapper_JavaDebugPort.htm
public static short? ApplicationJavaDebugPort { get; set; }
Property Value
ApplicationJmxPort
Sets the value of https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_SetupJVMWrapper_JmxPort.htm
public static short? ApplicationJmxPort { get; set; }
Property Value
ApplicationLicensePath
Sets the value of https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_SetupJVMWrapper_LicensePath.htm
public static string ApplicationLicensePath { get; set; }
Property Value
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
CommandLineArguments
IEnumerable<T> for command line
public virtual IEnumerable<IArgumentMetadata> CommandLineArguments { get; }
Property Value
DebugSuspendFlag
public override string DebugSuspendFlag { get; }
Property Value
EnableDebug
public override bool EnableDebug { get; }
Property Value
GlobalHeapSize
public override string GlobalHeapSize { get; }
Property Value
InitialHeapSize
public override string InitialHeapSize { get; }
Property Value
JDKHome
public override string JDKHome { get; }
Property Value
JNIOutputFile
public override string JNIOutputFile { get; }
Property Value
JNIVerbosity
public override string JNIVerbosity { get; }
Property Value
JVMOptions
public override sealed IEnumerable<KeyValuePair<string, string>> JVMOptions { get; }
Property Value
JVMPath
public override string JVMPath { get; }
Property Value
JavaDebugOpts
public override string JavaDebugOpts { get; }
Property Value
JavaDebugPort
public override short JavaDebugPort { get; }
Property Value
JmxPort
public override short? JmxPort { get; }
Property Value
LicensePath
public override string LicensePath { get; }
Property Value
LogClassPath
Set to true to print ClassPath
public virtual bool LogClassPath { get; }
Property Value
Options
Adds options to the JVM
protected abstract IDictionary<string, string> Options { get; }
Property Value
ParsedArgs
Arguments parsed
public IEnumerable<IArgumentMetadataParsed> ParsedArgs { get; }
Property Value
PathToParse
A list of paths to be used in initialization of JVM ClassPath
protected virtual IList<string> PathToParse { get; }
Property Value
Methods
HelpInfo(int?)
public static string HelpInfo(int? width = null)
Parameters
width
int?
Returns
Launch(Type, params string[])
Launch the type
with the args
arguments
public static void Launch(Type type, params string[] args)
Parameters
type
TypeThe 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
stringThe 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
Returns
- dynamic
The instance associated to the requested
className
ProcessCommandLine()
protected override string[] ProcessCommandLine()
Returns
- string[]