Click or drag to resize

IJVMWrapper Methods

The IJVMWrapper type exposes the following members.

Methods
 NameDescription
Public methodCastTo Converts the origin in the instance defined from className
(Inherited from IJVMWrapperDirect)
Public methodConvertObject Converts an Object to its equivalent JVM type
(Inherited from IJVMWrapperDirect)
Public methodDetachThread 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)
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable)
Public methodGetClass Retrieve a class from JVM
(Inherited from IJVMWrapperDirect)
Public methodGetClassName Gets the class name from the object pointer
(Inherited from IJVMWrapperDirect)
Public methodGetCLRGlobal Get previously registered Object from CLR global mapper
(Inherited from IJVMWrapperManagement)
Public methodGetDirectBufferT 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)
Public methodGetJCGraphicContainer(IJavaObject, Boolean) Requests to allocate a remote graphic container to host the Component in graphicObject
(Inherited from IJVMWrapperManagement)
Public methodGetJCGraphicContainer(String, Boolean) Requests to allocate a remote graphic container to host the Component with class name className
(Inherited from IJVMWrapperManagement)
Public methodGetJVMGlobal Get previously registered IJavaObject from JVM global mapper
(Inherited from IJVMWrapperManagement)
Public methodGetListener Returns the IJVMBridgeBase listener reference associated to the JVM reference
(Inherited from IJVMWrapperManagement)
Public methodGetObject(IntPtr, Boolean) Gets an instance of IJavaObject from the object pointer
(Inherited from IJVMWrapperDirect)
Public methodGetObject(String, IntPtr, Boolean) Gets an instance of IJavaObject from the object pointer
(Inherited from IJVMWrapperDirect)
Public methodCode exampleImportPackage Imports a Java package to be used within the program
(Inherited from IJVMWrapperDirect)
Public methodInitializeListener Request the initialization of the Listener from the JVM. The listener is a new class which inherits from JVMBridgeListener or JVMBridgeListener
(Inherited from IJVMWrapperManagement)
Public methodIsAssignableFrom Check if sub is assignable from sup
(Inherited from IJVMWrapperDirect)
Public methodIsInstanceOf Check if obj is instance of clazz
(Inherited from IJVMWrapperDirect)
Public methodNew Create a new JVM object
(Inherited from IJVMWrapperDirect)
Public methodNewArray(String, Object) Creates a new array
(Inherited from IJVMWrapperDirect)
Public methodNewArrayTArrayType(TArrayType) Creates a new array
(Inherited from IJVMWrapperDirect)
Public methodNewDirectBuffer(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)
Public methodNewDirectBuffer(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)
Public methodNewDirectBufferT(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)
Public methodNewWithSignature Create a new JVM object
(Inherited from IJVMWrapperDirect)
Public methodRegisterCLRGlobal Register the object into the global CLR mapper.
(Inherited from IJVMWrapperManagement)
Public methodReleaseJCGraphicContainer Reelase a IJCGraphicContainer from the JVM
(Inherited from IJVMWrapperManagement)
Public methodReleaseListener Release a IJVMBridgeBase listener reference from the JVM
(Inherited from IJVMWrapperManagement)
Public methodThrow Throws an exception
(Inherited from IJVMWrapperDirect)
Public methodToArray Gets an instance of IJavaObject from the object pointer
(Inherited from IJVMWrapperDirect)
Public methodUnregisterCLRGlobal Unregister the object from the global CLR mapper.
(Inherited from IJVMWrapperManagement)
Top
See Also