![]() | Setup |
The SetupJVMWrapper type exposes the following members.
Name | Description | |
---|---|---|
![]() | SetupJVMWrapper | Initialize a new instance of SetupJVMWrapper |
![]() | SetupJVMWrapper(String) |
Initialize a new instance of SetupJVMWrapper Obsolete |
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 Obsolete |
![]() | EnableCriticalMethodsOnGet |
Always enable/disable use of critical methods, within JNI interface, to get native type arrays
Obsolete |
![]() | 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 Obsolete |
![]() | EnableCriticalMethodsOnSet |
Always enable/disable use of critical methods, within JNI interface, to set native type arrays
Obsolete |
![]() | 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 Obsolete |
![]() | EnableDebug | Enables Debug |
![]() | FeatureLevel |
Reports the feature level of the JVM in use
Obsolete |
![]() ![]() | 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 avoid globalization of 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 |
![]() | 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 |
![]() | ScopedOn | Used to define the usage scope when JCOBridge is embedded in another application. It overrides the environment variable JCOBRIDGE_SCOPEDON |
![]() | ScopedOnVersion | Used to define the Version usage scope when JCOBridge is embedded in another application. It overrides the environment variable JCOBRIDGE_SCOPEDONVERSION |
![]() | 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). 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
Obsolete |
![]() | 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 Obsolete |
![]() | GetJCGraphicContainer(String, Boolean) |
Requests to allocate a remote graphic container to host the Component with class name className Obsolete |
![]() | GetJVMGlobal |
Get previously registered IJavaObject from JVM global mapper
Obsolete |
![]() | GetListener |
Returns the IJVMBridgeBase listener reference associated to the JVM reference
Obsolete |
![]() ![]() | GetMainClasses |
Retrieve all Main-Class from the assembly Obsolete |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object) |
![]() ![]() | ImportPackage |
Imports a Java package to be used within the program
Obsolete |
![]() | InitializeListener |
Request the initialization of the Listener from the JVM. The listener is a new class which inherits from JVMBridgeListener or JVMBridgeListener Obsolete |
![]() ![]() | Launch(Type, String) |
Launch the type with the args arguments
Obsolete |
![]() ![]() | LaunchTClass(String) |
Launch the TClass with the args arguments
Obsolete |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
![]() | PostInitialization | Override the method to manage post initialization step |
![]() | PreInitialization | Override the method to setup some information, this is the first method invoked: some settings can be applied here like SetEventOrExceptionHandler(EventHandlerEventOrExceptionEventArgs) |
![]() | ProcessCommandLine | Process command line arguments |
![]() | RegisterCLRGlobal |
Register the object into the global CLR mapper.
Obsolete |
![]() | ReleaseJCGraphicContainer |
Reelase a IJCGraphicContainer from the JVM
Obsolete |
![]() | ReleaseListener |
Release a IJVMBridgeBase listener reference from the JVM
Obsolete |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object) |
![]() | UnregisterCLRGlobal |
Unregister the object from the global CLR mapper.
Obsolete |
![]() | 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) |
![]() | 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); } }