IJVMWrapper Methods |
The IJVMWrapper type exposes the following members.
Name | Description | |
---|---|---|
CastTo(IJavaObjectBase, IJavaType, Boolean) |
Converts the origin in the instance defined from clazz (Inherited from IJVMWrapperDirect) | |
CastTo(IJavaObjectBase, String, Boolean) |
Converts the origin in the 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 |
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
(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) | |
New |
Create a new JVM object
(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 which shares the stream. The method helps to avoid too many array copies from CLR to JVM
(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(T, Boolean, Boolean, Int32) |
Creates a new https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html in the JVM which belongs to data.
If this method is used in conjunction with arrangeCapacity and/or useMemoryControlBlock set to , better performances are obtained from
NewDirectBuffer(MemoryStream, Boolean, EventHandlerMemoryStream, Int32) becuase MemoryStream automatically manages its capacity
and, in general, will be the memory space available for control memory block needed from useMemoryControlBlock set to (Inherited from IJVMWrapperDirect) | |
NewWithSignature |
Create a new JVM object
(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) | |
Throw |
Throws an exception
(Inherited from IJVMWrapperDirect) | |
ToArray |
Gets an instance of IJavaObject from the object pointer
(Inherited from IJVMWrapperDirect) | |
UnregisterCLRGlobal |
Unregister the object from the global CLR mapper.
(Inherited from IJVMWrapperManagement) |