IJVMWrapper Interface |
The IJVMWrapper type exposes the following members.
| Name | Description | |
|---|---|---|
| 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 IJVMWrapperManagement) | |
| EnableCriticalMethodsOnGet |
Always enable/disable use of critical methods, within JNI interface, to get native type arrays
(Inherited from IJVMWrapperManagement) | |
| 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 IJVMWrapperManagement) | |
| EnableCriticalMethodsOnSet |
Always enable/disable use of critical methods, within JNI interface, to set native type arrays
(Inherited from IJVMWrapperManagement) | |
| 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 IJVMWrapperManagement) | |
| FeatureLevel |
Reports the feature level of the JVM in use
(Inherited from IJVMWrapperManagement) | |
| LazyCriticalCheck |
Returns if the lazy critical methods check is enabled
(Inherited from IJVMWrapperManagement) | |
| UseCache | Returns true if JNI subsystem is using the cache mechanism |
| Name | Description | |
|---|---|---|
| CastTo(IJavaObjectBase, IJavaType, Boolean) |
Creates from the origin a new IJavaObjectBase instance defined from clazz (Inherited from IJVMWrapperDirect) | |
| CastTo(IJavaObjectBase, String, Boolean) |
Creates from the origin a new IJavaObjectBase instance defined from className (Inherited from IJVMWrapperDirect) | |
| Convert(IJavaObjectBase, IJavaType, Boolean) |
Converts the origin in an IJavaObjectBase instance defined from clazz (Inherited from IJVMWrapperDirect) | |
| Convert(IJavaObjectBase, String, Boolean) |
Converts the origin in an IJavaObjectBase instance defined from className (Inherited from IJVMWrapperDirect) | |
| ConvertObject |
Converts an Object to its equivalent JVM type
(Inherited from IJVMWrapperDirect) | |
| DetachThread |
Detaches the current thread - should be called in any thread outside of the main thread where this object is used after it's done with it.
(Inherited from IJVMWrapperLow) | |
| Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable) | |
| GetClass |
Retrieve a class from JVM
(Inherited from IJVMWrapperDirect) | |
| GetClassName |
Gets the class name from the object pointer
(Inherited from IJVMWrapperDirect) | |
| GetCLRGlobal |
Get previously registered Object from CLR global mapper
(Inherited from IJVMWrapperManagement) | |
| GetDirectBufferT(IJavaObject) |
Returns a new instance of JCOBridgeDirectBufferT holding the memory of the https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html which belongs to obj (Inherited from IJVMWrapperDirect) | |
| GetDirectBufferT(IJavaObject, Boolean) |
Returns a new instance of JCOBridgeDirectBufferT holding the memory of the https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html which belongs to obj (Inherited from IJVMWrapperDirect) | |
| GetJCGraphicContainer(IJavaObject, Boolean) |
Requests to allocate a remote graphic container to host the Component in graphicObject (Inherited from IJVMWrapperManagement) | |
| GetJCGraphicContainer(String, Boolean) |
Requests to allocate a remote graphic container to host the Component with class name className (Inherited from IJVMWrapperManagement) | |
| GetJVMGlobal |
Get previously registered IJavaObject from JVM global mapper
(Inherited from IJVMWrapperManagement) | |
| GetListener |
Returns the IJVMBridgeBase listener reference associated to the JVM reference in eventListener (Inherited from IJVMWrapperManagement) | |
| GetObject(IntPtr, Boolean) |
Gets an instance of IJavaObject from the object pointer
(Inherited from IJVMWrapperDirect) | |
| GetObject(String, IntPtr, Boolean) |
Gets an instance of IJavaObject from the object pointer
(Inherited from IJVMWrapperDirect) | |
| ImportPackage |
Imports a Java package to be used within the program
(Inherited from IJVMWrapperDirect) | |
| InitializeListener |
Request the initialization of the Listener from the JVM. The listener is a new class which inherits from JVMBridgeListener or JVMBridgeListener (Inherited from IJVMWrapperManagement) | |
| IsAssignableFrom |
Check if sub is assignable from sup (Inherited from IJVMWrapperDirect) | |
| IsInstanceOf |
Check if obj is instance of clazz (Inherited from IJVMWrapperDirect) | |
| IsSameObject |
Check if the obj1 instance is the same reference of obj2 in the JVM
(Inherited from IJVMWrapperDirect) | |
| New(String) |
Instantiates a new JVM object of className type using the no-argument constructor.
(Inherited from IJVMWrapperDirect) | |
| New(String, Object) |
Instantiates a new JVM object of className type using a constructor
that accepts 1 argument.
(Inherited from IJVMWrapperDirect) | |
| New(String, Object) |
Instantiates a new JVM object of className type using a constructor
that accepts 10 arguments.
(Inherited from IJVMWrapperDirect) | |
| New(String, Object, Object) |
Instantiates a new JVM object of className type using a constructor
that accepts 2 arguments.
(Inherited from IJVMWrapperDirect) | |
| New(String, Object, Object, Object) |
Instantiates a new JVM object of className type using a constructor
that accepts 3 arguments.
(Inherited from IJVMWrapperDirect) | |
| New(String, Object, Object, Object, Object) |
Instantiates a new JVM object of className type using a constructor
that accepts 4 arguments.
(Inherited from IJVMWrapperDirect) | |
| New(String, Object, Object, Object, Object, Object) |
Instantiates a new JVM object of className type using a constructor
that accepts 5 arguments.
(Inherited from IJVMWrapperDirect) | |
| New(String, Object, Object, Object, Object, Object, Object) |
Instantiates a new JVM object of className type using a constructor
that accepts 6 arguments.
(Inherited from IJVMWrapperDirect) | |
| New(String, Object, Object, Object, Object, Object, Object, Object) |
Instantiates a new JVM object of className type using a constructor
that accepts 7 arguments.
(Inherited from IJVMWrapperDirect) | |
| New(String, Object, Object, Object, Object, Object, Object, Object, Object) |
Instantiates a new JVM object of className type using a constructor
that accepts 8 arguments.
(Inherited from IJVMWrapperDirect) | |
| New(String, Object, Object, Object, Object, Object, Object, Object, Object, Object) |
Instantiates a new JVM object of className type using a constructor
that accepts 9 arguments.
(Inherited from IJVMWrapperDirect) | |
| New(String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) |
Instantiates a new JVM object of className type using a constructor
that accepts 10 arguments.
(Inherited from IJVMWrapperDirect) | |
| NewArray(String, Object) |
Creates a new array
(Inherited from IJVMWrapperDirect) | |
| NewArrayTArrayType(TArrayType) |
Creates a new array
(Inherited from IJVMWrapperDirect) | |
| NewDirectBuffer(MemoryStream, Boolean, EventHandlerMemoryStream, Int32) |
Creates a new https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html in the JVM by performing an internal copy of the content of stream.
(Inherited from IJVMWrapperDirect) | |
| NewDirectBuffer(IntPtr, Int64, EventHandlerObject, Object, Int32) |
Creates a new https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html in the JVM which belongs to rawAddr.
(Inherited from IJVMWrapperDirect) | |
| NewDirectBufferT(JCOBridgeSharedBufferStreamT) |
Creates a new https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html in the JVM which shares the memory of stream.
This is the preferred overload for high-rate scenarios as it avoids repeated array copies from CLR to JVM and benefits from pooled buffer management.
(Inherited from IJVMWrapperDirect) | |
| NewDirectBufferT(T, Boolean, Boolean, Int32) |
Creates a new https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html in the JVM by performing an internal copy of data.
(Inherited from IJVMWrapperDirect) | |
| NewWithSignature(String, String) |
Instantiates a new JVM object of className type using the constructor
identified by an explicit JNI signature and no arguments.
(Inherited from IJVMWrapperDirect) | |
| NewWithSignature(String, String, Object) |
Instantiates a new JVM object of className type using the constructor
identified by an explicit JNI signature and 1 argument.
(Inherited from IJVMWrapperDirect) | |
| NewWithSignature(String, String, Object) |
Instantiates a new JVM object of className type using the constructor
identified by an explicit JNI signature and a variable-length argument list.
(Inherited from IJVMWrapperDirect) | |
| NewWithSignature(String, String, Object, Object) |
Instantiates a new JVM object of className type using the constructor
identified by an explicit JNI signature and 2 arguments.
(Inherited from IJVMWrapperDirect) | |
| NewWithSignature(String, String, Object, Object, Object) |
Instantiates a new JVM object of className type using the constructor
identified by an explicit JNI signature and 3 arguments.
(Inherited from IJVMWrapperDirect) | |
| NewWithSignature(String, String, Object, Object, Object, Object) |
Instantiates a new JVM object of className type using the constructor
identified by an explicit JNI signature and 4 arguments.
(Inherited from IJVMWrapperDirect) | |
| NewWithSignature(String, String, Object, Object, Object, Object, Object) |
Instantiates a new JVM object of className type using the constructor
identified by an explicit JNI signature and 5 arguments.
(Inherited from IJVMWrapperDirect) | |
| NewWithSignature(String, String, Object, Object, Object, Object, Object, Object) |
Instantiates a new JVM object of className type using the constructor
identified by an explicit JNI signature and 6 arguments.
(Inherited from IJVMWrapperDirect) | |
| NewWithSignature(String, String, Object, Object, Object, Object, Object, Object, Object) |
Instantiates a new JVM object of className type using the constructor
identified by an explicit JNI signature and 7 arguments.
(Inherited from IJVMWrapperDirect) | |
| NewWithSignature(String, String, Object, Object, Object, Object, Object, Object, Object, Object) |
Instantiates a new JVM object of className type using the constructor
identified by an explicit JNI signature and 8 arguments.
(Inherited from IJVMWrapperDirect) | |
| NewWithSignature(String, String, Object, Object, Object, Object, Object, Object, Object, Object, Object) |
Instantiates a new JVM object of className type using the constructor
identified by an explicit JNI signature and 9 arguments.
(Inherited from IJVMWrapperDirect) | |
| NewWithSignature(String, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) |
Instantiates a new JVM object of className type using the constructor
identified by an explicit JNI signature and 10 arguments.
(Inherited from IJVMWrapperDirect) | |
| RegisterCLRGlobal |
Register the object into the global CLR mapper.
(Inherited from IJVMWrapperManagement) | |
| ReleaseJCGraphicContainer |
Reelase a IJCGraphicContainer from the JVM
(Inherited from IJVMWrapperManagement) | |
| ReleaseListener |
Release a IJVMBridgeBase listener reference from the JVM
(Inherited from IJVMWrapperManagement) | |
| RentT |
Returns a JCOBridgeSharedBufferStreamT with an initial capacity derived from capacity,
to be populated via Stream-based APIs and then passed to NewDirectBufferT(JCOBridgeSharedBufferStreamT).
(Inherited from IJVMWrapperDirect) | |
| Throw |
Throws an exception
(Inherited from IJVMWrapperDirect) | |
| ToArray |
Gets an instance of IJavaObject from the object pointer
(Inherited from IJVMWrapperDirect) | |
| ToJavaException |
Converts exceptionObject to a JavaException (Inherited from IJVMWrapperDirect) | |
| UnregisterCLRGlobal |
Unregister the object from the global CLR mapper.
(Inherited from IJVMWrapperManagement) |