JuggerNET Runtime Library v3.6.54.0
3.6.54.0
|
An interface implemented by every type that is a proxy type for a Java type. It provides an abstraction layer for getting/setting Java object handles and for getting a duplicated object handle for the same object. More...
Public Member Functions | |
void | Release () |
Releases the connection between this proxy instance and the Java object without freeing the Java object. More... | |
bool | IsInstanceOf (JavaClass clazz) |
Returns true if the instance is type compatible with the given Java type. More... | |
bool | IsSame (JavaProxy proxy) |
Returns true if the proxy instance wraps around the same Java object as the other proxy instance. More... | |
Properties | |
long | JObject [get, set] |
A property representing the JNI object handle. More... | |
HandleRef | Handle [get] |
A property representing the JNI object handle. More... | |
long | JObjectDuplicate [get] |
A property representing a duplicated JNI object handle. More... | |
An interface implemented by every type that is a proxy type for a Java type. It provides an abstraction layer for getting/setting Java object handles and for getting a duplicated object handle for the same object.
bool Codemesh.JuggerNET.JavaProxy.IsInstanceOf | ( | JavaClass | clazz | ) |
Returns true if the instance is type compatible with the given Java type.
clazz | the Java type. |
Implemented in Codemesh.JuggerNET.JuggerNETProxyException, Codemesh.JuggerNET.JuggerNETProxyArray, and Codemesh.JuggerNET.JuggerNETProxyObject.
Referenced by Codemesh.JuggerNET.ReflectionPeerValueMarshaller.Unmarshal().
bool Codemesh.JuggerNET.JavaProxy.IsSame | ( | JavaProxy | proxy | ) |
Returns true if the proxy instance wraps around the same Java object as the other proxy instance.
proxy | The other proxy instance. |
Implemented in Codemesh.JuggerNET.JuggerNETProxyException, Codemesh.JuggerNET.JuggerNETProxyArray, and Codemesh.JuggerNET.JuggerNETProxyObject.
void Codemesh.JuggerNET.JavaProxy.Release | ( | ) |
Releases the connection between this proxy instance and the Java object without freeing the Java object.
Implemented in Codemesh.JuggerNET.JuggerNETProxyObject, Codemesh.JuggerNET.JuggerNETProxyException, and Codemesh.JuggerNET.JuggerNETProxyArray.
Referenced by Codemesh.JuggerNET.JavaMethod.CallVoid().
|
get |
A property representing the JNI object handle.
Referenced by Codemesh.JuggerNET.JavaMethod.CallBool(), Codemesh.JuggerNET.JavaMethod.CallByte(), Codemesh.JuggerNET.JavaMethod.CallChar(), Codemesh.JuggerNET.JavaMethod.CallDouble(), Codemesh.JuggerNET.JavaMethod.CallFloat(), Codemesh.JuggerNET.JavaMethod.CallInt(), Codemesh.JuggerNET.JavaMethod.CallLong(), Codemesh.JuggerNET.JavaMethod.CallObject(), Codemesh.JuggerNET.JavaMethod.CallShort(), Codemesh.JuggerNET.JavaMethod.CallString(), Codemesh.JuggerNET.JavaMethod.CallVoid(), and Codemesh.JuggerNET.PeerManager.Unmarshal().
|
getset |
A property representing the JNI object handle.
Referenced by Codemesh.JuggerNET.Jvm.Attach(), Codemesh.JuggerNET.JavaMethod.CallObject(), and Codemesh.JuggerNET.PeerManager.Unmarshal().
|
get |
A property representing a duplicated JNI object handle.