Class StartJNetPSCmdletCommandBase<TCmdlet, TCore>
- Namespace
- MASES.JNetPSCore.Cmdlet
- Assembly
- MASES.JNetPSCore.dll
Base class to be extended in derived projects to add other parameters
public abstract class StartJNetPSCmdletCommandBase<TCmdlet, TCore> : JNetPSExternalizableCmdlet<TCmdlet> where TCmdlet : StartJNetPSCmdletCommandBase<TCmdlet, TCore> where TCore : JNetCore<TCore>
Type Parameters
TCmdlet
TCore
- Inheritance
-
JNetPSExternalizableCmdlet<TCmdlet>StartJNetPSCmdletCommandBase<TCmdlet, TCore>
- Derived
- Inherited Members
- Extension Methods
Properties
DebugSuspendFlag
Sets the value of https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_SetupJVMWrapper_DebugSuspendFlag.htm
[Parameter(ValueFromPipeline = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The suspend flag to be used in the debug option when JVM will be created. Default is \"n\"")]
public string DebugSuspendFlag { get; set; }
Property Value
EnableDebug
Sets the value of https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_SetupJVMWrapper_EnableDebug.htm
[Parameter(ValueFromPipeline = true, ValueFromPipelineByPropertyName = true, HelpMessage = "Put in command line to enable JVM debug")]
public bool? EnableDebug { get; set; }
Property Value
- bool?
HeapSize
Sets the global value of https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_SetupJVMWrapper_GlobalHeapSize.htm
[Parameter(ValueFromPipeline = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The Heap size (-Xmx) to be set when JVM will be created")]
public string HeapSize { get; set; }
Property Value
InitialHeapSize
Sets the global value of the https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_SetupJVMWrapper_InitialHeapSize.htm
[Parameter(ValueFromPipeline = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The initial Heap size (-Xms) to be set when JVM will be created")]
public string InitialHeapSize { get; set; }
Property Value
JDKHome
Sets the value of https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_SetupJVMWrapper_JDKHome.htm
[Parameter(ValueFromPipeline = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The path where is located the JRE of the installed JDK")]
public string JDKHome { get; set; }
Property Value
JNIOutputFile
Sets the value of https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_SetupJVMWrapper_JNIOutputFile.htm
[Parameter(ValueFromPipeline = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The path where the JNI verbose info will be written. The file will be opened in append mode")]
public string JNIOutputFile { get; set; }
Property Value
JNIVerbosity
Sets the value of https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_SetupJVMWrapper_JNIVerbosity.htm
[Parameter(ValueFromPipeline = true, ValueFromPipelineByPropertyName = true, HelpMessage = "Sets the verbosity of the JNI interface. See oracle documentation")]
public string JNIVerbosity { get; set; }
Property Value
JVMPath
Sets the value of https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_SetupJVMWrapper_JVMPath.htm
[Parameter(ValueFromPipeline = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The path to the JRE ennvironment or full path to (jvm.dll/libjvm.so). If not set the library try to find a suitable version on the system")]
public string JVMPath { get; set; }
Property Value
JavaDebugOpts
Sets the value of https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_SetupJVMWrapper_JavaDebugOpts.htm
[Parameter(ValueFromPipeline = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The string to be used in the debug option when JVM will be created. Default is \"-agentlib:jdwp=transport=dt_socket,server=y,suspend={JVMDebugSuspendFlag},address={JVMDebugPort}\"")]
public string JavaDebugOpts { get; set; }
Property Value
JavaDebugPort
Sets the value of https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_SetupJVMWrapper_JavaDebugPort.htm
[Parameter(ValueFromPipeline = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The port to be used for debug when JVM will be created")]
public short? JavaDebugPort { get; set; }
Property Value
JmxPort
Sets the value of https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_SetupJVMWrapper_JmxPort.htm
[Parameter(ValueFromPipeline = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The JMX port to be set when JVM will be created")]
public short? JmxPort { get; set; }
Property Value
LicensePath
Sets the value of https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_SetupJVMWrapper_LicensePath.htm
[Parameter(ValueFromPipeline = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The path where is located the license file")]
public string LicensePath { get; set; }
Property Value
LogClassPath
Sets the global value of the log class path
[Parameter(ValueFromPipeline = true, ValueFromPipelineByPropertyName = true, HelpMessage = "Set to true to print ClassPath")]
public bool? LogClassPath { get; set; }
Property Value
- bool?
Methods
CreateGlobalInstance()
Invokes the MASES.JCOBridge.C2JBridge.SetupJVMWrapper<T>.CreateGlobalInstance()
protected virtual void CreateGlobalInstance()
OnAfterCreateGlobalInstance()
Executes the code after invoke CreateGlobalInstance()
protected virtual void OnAfterCreateGlobalInstance()
OnBeforeCreateGlobalInstance()
Executes the code before invoke CreateGlobalInstance()
protected virtual void OnBeforeCreateGlobalInstance()
ProcessCommand()
protected override void ProcessCommand()