Setup |
The SetupJVMWrapper type exposes the following members.
Name | Description | |
---|---|---|
SetupJVMWrapper | Initialize a new instance of SetupJVMWrapper | |
SetupJVMWrapper(String) | Obsolete. Initialize a new instance of SetupJVMWrapper |
Name | Description | |
---|---|---|
ClassPath | The starting JVM class path. Further path can be added later. | |
ContainerId | Return a String identifier of the container instance | |
DebugSuspendFlag | Enables Debug | |
DynJVM | The dynamic entry point for JVM operations. It permits to write code in .NET languages using a syntax not far from the one available in Java. | |
EnableCriticalMethods | Always enable/disable use of critical methods within JNI interface, to get/set native type arrays, single wrapper for EnableCriticalMethodsOnGet and EnableCriticalMethodsOnSet | |
EnableCriticalMethodsOnGet | Always enable/disable use of critical methods, within JNI interface, to get native type arrays | |
EnableCriticalMethodsOnGetThreshold | Enable/Disable use of critical methods, within JNI interface, to get native type arrays if the length is over the EnableCriticalMethodsOnSetThreshold. Default is MaxValue | |
EnableCriticalMethodsOnSet | Always enable/disable use of critical methods, within JNI interface, to set native type arrays | |
EnableCriticalMethodsOnSetThreshold | Enable/Disable use of critical methods, within JNI interface, to set native type arrays if the length is over the EnableCriticalMethodsOnSetThreshold. Default is MaxValue | |
EnableDebug | Enables Debug | |
FeatureLevel | Reports the feature level of the JVM in use | |
FilteredArgs | The remaining arguments after applied the parsing of JCOBridge arguments. Useful when invoked application does not accept arguments related to JCOBridge. | |
GlobalHeapSize | Sets the global heap size | |
Globalize | Set to to do not globilize the instance. Default is | |
InitialHeapSize | Sets the initial heap size | |
IsContainer | Return if the running environment is a container | |
JavaDebugOpts | Java Debug options used if EnableDebug is true | |
JavaDebugPort | Java Debug Port | |
JDKHome | The path where is located the JRE of the installed JDK | |
JmxPort | The JMX Port to use | |
JNIOutputFile | The path where the JNI verbose info will be written. The file will be opened in append mode. | |
JNIVerbosity | Sets the verbosity of the JNI interface. See oracle documentation. | |
JVM | The entry point for direct JVM operations. Use DynJVM to write code like you made in Java | |
JVMOptions | The options to pass to the JVM when a JVM will be created | |
JVMPackages | The list of packages on startup. Further packages can be added later | |
JVMPath | 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. | |
JVMStats | The entry point for JVM statistics | |
LastBindingException | Last Exception raised from C# to Java interface. Useful to identify the real exception behind a RuntimeBinderException raised when DynJVM accessor is in use. | |
LicensePath | The path where is located the license file | |
Management | The entry point for management operations | |
ModulePath | The starting JVM module path. Further path can be added later. | |
RemoteBridge | Direct accessor to the JCOBridge class in the JVM context | |
RemoteJCOBridge | Dynamic accessor to the JCOBridge class in the JVM context | |
SuppressFinalize | to suppress finalization of the class instance inherited from SetupJVMWrapper when the instance is created using CreateGlobalInstance, the instance is globalized using Globalize(IJVMBridgeCore, Boolean) or GlobalizeTClass. Default value is . |
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
Finalize |
Finalize an instance of SetupJVMWrapper (Overrides ObjectFinalize) | |
GetCLRGlobal | Get previously registered Object from CLR global mapper | |
GetHashCode | Serves as the default hash function. (Inherited from Object) | |
GetJCGraphicContainer(IJavaObject, Boolean) | Requests to allocate a remote graphic container to host the Component in graphicObject | |
GetJCGraphicContainer(String, Boolean) | Requests to allocate a remote graphic container to host the Component with class name className | |
GetJVMGlobal | Get previously registered IJavaObject from JVM global mapper | |
GetListener | Returns the IJVMBridgeBase listener reference associated to the JVM reference | |
GetMainClasses | Retrieve all Main-Class from the assembly | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
ImportPackage | Imports a Java package to be used within the program | |
InitializeListener | Request the initialization of the Listener from the JVM. The listener is a new class which inherits from JVMBridgeListener or JVMBridgeListener | |
Launch(Type, String) | Launch the type with the args arguments | |
LaunchTClass(String) | Launch the TClass with the args arguments | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
ProcessCommandLine | Process command line arguments | |
RegisterCLRGlobal | Register the object into the global CLR mapper. | |
ReleaseJCGraphicContainer | Reelase a IJCGraphicContainer from the JVM | |
ReleaseListener | Release a IJVMBridgeBase listener reference from the JVM | |
ToString | Returns a string that represents the current object. (Inherited from Object) | |
UnregisterCLRGlobal | Unregister the object from the global CLR mapper. | |
UnwrapAndDemonizeOnT | Creates and unwrap the JVM instance as daemon | |
UnwrapOnT | Creates and unwrap the JVM instance |
Name | Description | |
---|---|---|
ConvertTReturn |
Converts a generic object
(Defined by JCOBridgeExtensions) | |
Globalize |
Creates a new global instance pointer
(Defined by JCOBridge) | |
ToNative |
Converts a generic input to an object manageable from the JVM
(Defined by JCOBridgeExtensions) |
class JVMWrapperApp : SetupJVMWrapper { public void Execute() { ImportPackage("java.lang"); ImportPackage("java.util"); var str = DynJVM.String.@new(); str = str.concat("HELLO WORLD FROM JVM!!!"); // this command is executed within the JVM context Console.WriteLine("Output from JVM: {0}", str); } }