Setup |
The SetupJVMWrapperT type exposes the following members.
Name | Description | |
---|---|---|
SetupJVMWrapperT | Initializes a new instance of the SetupJVMWrapperT class |
Name | Description | |
---|---|---|
ClassPath |
The starting JVM class path. Further path can be added later.
(Inherited from SetupJVMWrapper) | |
DebugSuspendFlag |
Enables Debug
(Inherited from SetupJVMWrapper) | |
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.
(Inherited from SetupJVMWrapper) | |
EnableCriticalMethods |
Always enable/disable use of critical methods within JNI interface, to get/set native type arrays, single wrapper for EnableCriticalMethodsOnGet and EnableCriticalMethodsOnSet (Inherited from SetupJVMWrapper) | |
EnableCriticalMethodsOnGet |
Always enable/disable use of critical methods, within JNI interface, to get native type arrays
(Inherited from SetupJVMWrapper) | |
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 (Inherited from SetupJVMWrapper) | |
EnableCriticalMethodsOnSet |
Always enable/disable use of critical methods, within JNI interface, to set native type arrays
(Inherited from SetupJVMWrapper) | |
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 (Inherited from SetupJVMWrapper) | |
EnableDebug |
Enables Debug
(Inherited from SetupJVMWrapper) | |
FeatureLevel |
Reports the feature level of the JVM in use
(Inherited from SetupJVMWrapper) | |
GlobalHeapSize |
Sets the global heap size
(Inherited from SetupJVMWrapper) | |
GlobalInstance | Create and return a singleton global instance of T | |
Globalize |
Set to to do not globilize the instance. Default is (Inherited from SetupJVMWrapper) | |
HasGlobalInstance | Return if a singleton global instance of T was previously created, otherwise | |
InitialHeapSize |
Sets the initial heap size
(Inherited from SetupJVMWrapper) | |
JavaDebugOpts |
Java Debug options used if EnableDebug is true
(Inherited from SetupJVMWrapper) | |
JavaDebugPort |
Java Debug Port
(Inherited from SetupJVMWrapper) | |
JDKHome |
The path where is located the JRE of the installed JDK
(Inherited from SetupJVMWrapper) | |
JmxPort |
The JMX Port to use
(Inherited from SetupJVMWrapper) | |
JNIOutputFile |
The path where the JNI verbose info will be written. The file will be opened in append mode.
(Inherited from SetupJVMWrapper) | |
JNIVerbosity |
Sets the verbosity of the JNI interface. See oracle documentation.
(Inherited from SetupJVMWrapper) | |
JVM |
The entry point for direct JVM operations. Use DynJVM to write code like you made in Java
(Inherited from SetupJVMWrapper) | |
JVMOptions |
The options to pass to the JVM when a JVM will be created
(Inherited from SetupJVMWrapper) | |
JVMPackages |
The list of packages on startup. Further packages can be added later
(Inherited from SetupJVMWrapper) | |
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.
(Inherited from SetupJVMWrapper) | |
JVMStats |
The entry point for JVM statistics
(Inherited from SetupJVMWrapper) | |
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.
(Inherited from SetupJVMWrapper) | |
LicensePath |
The path where is located the license file
(Inherited from SetupJVMWrapper) | |
Management |
The entry point for management operations
(Inherited from SetupJVMWrapper) | |
ModulePath |
The starting JVM module path. Further path can be added later.
(Inherited from SetupJVMWrapper) | |
RemoteBridge |
Direct accessor to the JCOBridge class in the JVM context
(Inherited from SetupJVMWrapper) | |
RemoteJCOBridge |
Dynamic accessor to the JCOBridge class in the JVM context
(Inherited from SetupJVMWrapper) | |
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 .
(Inherited from SetupJVMWrapper) |
Name | Description | |
---|---|---|
CreateGlobalInstance | Create a singleton global instance of T | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
Finalize |
Finalize an instance of SetupJVMWrapper (Inherited from SetupJVMWrapper) | |
GetCLRGlobal |
Get previously registered Object from CLR global mapper
(Inherited from SetupJVMWrapper) | |
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 (Inherited from SetupJVMWrapper) | |
GetJCGraphicContainer(String, Boolean) |
Requests to allocate a remote graphic container to host the Component with class name className (Inherited from SetupJVMWrapper) | |
GetJVMGlobal |
Get previously registered IJavaObject from JVM global mapper
(Inherited from SetupJVMWrapper) | |
GetListener |
Returns the IJVMBridgeBase listener reference associated to the JVM reference
(Inherited from SetupJVMWrapper) | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
ImportPackage |
Imports a Java package to be used within the program
(Inherited from SetupJVMWrapper) | |
InitializeListener |
Request the initialization of the Listener from the JVM. The listener is a new class which inherits from JVMBridgeListener or JVMBridgeListener (Inherited from SetupJVMWrapper) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
ProcessCommandLine |
Process command line arguments
(Inherited from SetupJVMWrapper) | |
RegisterCLRGlobal |
Register the object into the global CLR mapper.
(Inherited from SetupJVMWrapper) | |
ReleaseJCGraphicContainer |
Reelase a IJCGraphicContainer from the JVM
(Inherited from SetupJVMWrapper) | |
ReleaseListener |
Release a IJVMBridgeBase listener reference from the JVM
(Inherited from SetupJVMWrapper) | |
ToString | Returns a string that represents the current object. (Inherited from Object) | |
UnregisterCLRGlobal |
Unregister the object from the global CLR mapper.
(Inherited from SetupJVMWrapper) | |
UnwrapAndDemonizeOn | Creates and unwrap the JVM instance as daemon | |
UnwrapOn | Creates and unwrap the JVM instance |
Name | Description | |
---|---|---|
ConvertTReturn |
Converts a generic object
(Defined by JCOBridgeExtensions) | |
ToNative |
Converts a generic input to an object manageable from the JVM
(Defined by JCOBridgeExtensions) |
class JVMWrapperApp : SetupJVMWrapper<JVMWrapperApp< { public void UnwrappedExecute(object args) { // put here the code to execute in a different JVM thread } public void Execute() { // use the following to execute the thread in JVM as deamon // the function returns a reference to the instance of the class allocated in the new thread // var jvmwrapperRefFromNewThread = UnwrapAndDemonizeOn(UnwrappedExecute); // use the following to execute the thread in JVM // the function returns a reference to the instance of the class allocated in the new thread // var jvmwrapperRefFromNewThread = UnwrapOn(UnwrappedExecute); // ... continue here with normal code; it will execute in parallel with unwrapped code } }