Click or drag to resize

IDeclaredJavaObject Interface

Interface to directly access all objects allocated from JVM, acts on declared references

Namespace: MASES.JCOBridge.C2JBridge.JVMInterop
Assembly: C2JBridge (in C2JBridge.dll) Version: 2.6.9.260611-9a148513a79c26cdd7f1dde468f4f9e06ef3bc7e
Syntax
public interface IDeclaredJavaObject : IJavaObject, 
	IJavaObjectBase, IDisposable

The IDeclaredJavaObject type exposes the following members.

Properties
 NameDescription
Public propertyIsGlobal Returns if this Pointer was set to be a Global reference
(Inherited from IJavaObjectBase)
Public propertyIsNull Returns if this IJavaObjectBase is a null object within the JVM
(Inherited from IJavaObjectBase)
Public propertyJniClassName The JNI class name of this IJavaObjectBase
(Inherited from IJavaObjectBase)
Public propertyJVMType The IJavaType of this IJavaObjectBase
(Inherited from IJavaObjectBase)
Public propertyPointer The native pointer of the object
(Inherited from IJavaObjectBase)
Public propertyReferenceObject The IJavaObject referenced from the instance of IJavaObjectBase, maybe it is null in many conditions
(Inherited from IJavaObjectBase)
Top
Methods
 NameDescription
Public methodDeclaredInvoke(String, Object) Invokes an instance member on this IJavaObject
Public methodDeclaredInvokeTReturn(String, Object) Invokes an instance member on this IJavaObject
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable)
Public methodEquals Checks for the equality between this instance and other
(Inherited from IJavaObjectBase)
Public methodGetDeclaredField Gets an instance field
Public methodGetField(String) Reads the value of an instance field on the underlying JVM object.
(Inherited from IJavaObject)
Public methodHashCode Returns the int value of JVM hashCode
(Inherited from IJavaObjectBase)
Public methodInvoke(String) Invokes an instance method on the underlying JVM object with no arguments.
(Inherited from IJavaObject)
Public methodInvoke(String, Object) Invokes an instance method on the underlying JVM object with 1 argument.
(Inherited from IJavaObject)
Public methodInvoke(String, Object) Invokes an instance method on the underlying JVM object using a variable-length argument list. The bridge resolves the target Java method by matching the runtime types of the supplied arguments.
(Inherited from IJavaObject)
Public methodInvoke(String, Object, Object) Invokes an instance method on the underlying JVM object with 2 arguments.
(Inherited from IJavaObject)
Public methodInvoke(String, Object, Object, Object) Invokes an instance method on the underlying JVM object with 3 arguments.
(Inherited from IJavaObject)
Public methodInvoke(String, Object, Object, Object, Object) Invokes an instance method on the underlying JVM object with 4 arguments.
(Inherited from IJavaObject)
Public methodInvoke(String, Object, Object, Object, Object, Object) Invokes an instance method on the underlying JVM object with 5 arguments.
(Inherited from IJavaObject)
Public methodInvoke(String, Object, Object, Object, Object, Object, Object) Invokes an instance method on the underlying JVM object with 6 arguments.
(Inherited from IJavaObject)
Public methodInvoke(String, Object, Object, Object, Object, Object, Object, Object) Invokes an instance method on the underlying JVM object with 7 arguments.
(Inherited from IJavaObject)
Public methodInvoke(String, Object, Object, Object, Object, Object, Object, Object, Object) Invokes an instance method on the underlying JVM object with 8 arguments.
(Inherited from IJavaObject)
Public methodInvoke(String, Object, Object, Object, Object, Object, Object, Object, Object, Object) Invokes an instance method on the underlying JVM object with 9 arguments.
(Inherited from IJavaObject)
Public methodInvoke(String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) Invokes an instance method on the underlying JVM object with 10 arguments.
(Inherited from IJavaObject)
Public methodInvokeWithSignature(String, String) Invokes an instance method on the underlying JVM object using an explicit JNI signature and no arguments.
(Inherited from IJavaObject)
Public methodInvokeWithSignature(String, String, Object) Invokes an instance method on the underlying JVM object using an explicit JNI signature and 1 argument.
(Inherited from IJavaObject)
Public methodInvokeWithSignature(String, String, Object) Invokes an instance method on the underlying JVM object using an explicit JNI signature and a variable-length argument list.
(Inherited from IJavaObject)
Public methodInvokeWithSignature(String, String, Object, Object) Invokes an instance method on the underlying JVM object using an explicit JNI signature and 2 arguments.
(Inherited from IJavaObject)
Public methodInvokeWithSignature(String, String, Object, Object, Object) Invokes an instance method on the underlying JVM object using an explicit JNI signature and 3 arguments.
(Inherited from IJavaObject)
Public methodInvokeWithSignature(String, String, Object, Object, Object, Object) Invokes an instance method on the underlying JVM object using an explicit JNI signature and 4 arguments.
(Inherited from IJavaObject)
Public methodInvokeWithSignature(String, String, Object, Object, Object, Object, Object) Invokes an instance method on the underlying JVM object using an explicit JNI signature and 5 arguments.
(Inherited from IJavaObject)
Public methodInvokeWithSignature(String, String, Object, Object, Object, Object, Object, Object) Invokes an instance method on the underlying JVM object using an explicit JNI signature and 6 arguments.
(Inherited from IJavaObject)
Public methodInvokeWithSignature(String, String, Object, Object, Object, Object, Object, Object, Object) Invokes an instance method on the underlying JVM object using an explicit JNI signature and 7 arguments.
(Inherited from IJavaObject)
Public methodInvokeWithSignature(String, String, Object, Object, Object, Object, Object, Object, Object, Object) Invokes an instance method on the underlying JVM object using an explicit JNI signature and 8 arguments.
(Inherited from IJavaObject)
Public methodInvokeWithSignature(String, String, Object, Object, Object, Object, Object, Object, Object, Object, Object) Invokes an instance method on the underlying JVM object using an explicit JNI signature and 9 arguments.
(Inherited from IJavaObject)
Public methodInvokeWithSignature(String, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) Invokes an instance method on the underlying JVM object using an explicit JNI signature and 10 arguments.
(Inherited from IJavaObject)
Public methodMonitorEnter Enters the monitor associated with the underlying with this IJavaObjectBase
(Inherited from IJavaObjectBase)
Public methodMonitorExit Exits the monitor associated with the underlying with this IJavaObjectBase
(Inherited from IJavaObjectBase)
Public methodNotify Wakes up a single thread that is waiting on this object's monitor.
(Inherited from IJavaObjectBase)
Public methodNotifyAll Wakes up all threads that are waiting on this object's monitor.
(Inherited from IJavaObjectBase)
Public methodSetDeclaredField Sets an instance field
Public methodSetField Writes a value to an instance field on the underlying JVM object.
(Inherited from IJavaObject)
Public methodToArray Returns a .NET array containing a copy of the JVM object data.

When called on an IJavaObject instance that represents a JVM array, the returned object is an IJavaArray wrapping the underlying JVM array. When called on an IJavaArray instance, the returned object is a typed .NET array whose element type depends on the underlying JVM primitive or reference type, as described in the returns section below.


(Inherited from IJavaObjectBase)
Public methodToJavaArray Reinterprets this IJavaObject as an IJavaArray reference.
(Inherited from IJavaObject)
Public methodToPrimitive Converts this IJavaObjectBase to a primitive value.
(Inherited from IJavaObjectBase)
Public methodToString Returns the String representation of this instance
(Inherited from IJavaObjectBase)
Public methodWait Causes the current thread to wait until it is awakened, typically by being notified or interrupted.
(Inherited from IJavaObjectBase)
Public methodWait(Int64) Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.
(Inherited from IJavaObjectBase)
Public methodWait(Int64, Int32) Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.
(Inherited from IJavaObjectBase)
Top
Extension Methods
 NameDescription
Public Extension MethodGetListener Returns the IJVMBridgeBase associated to the JVM reference
(Defined by JCOBridgeExtensions)
Top
See Also