Click or drag to resize

JVMBridgeBase Class

Public entry point of JVMBridgeBase
Inheritance Hierarchy

Namespace: MASES.JCOBridge.C2JBridge
Assembly: C2JBridge (in C2JBridge.dll) Version: 2.5.21.241219-a6a144ea07c497c3a9a1be842408e852afb458be
Syntax
public abstract class JVMBridgeBase : DynamicObject, 
	IJVMBridgeBase, IJVMBridgeDefinition, IJVMBridgeCore, IDisposable

The JVMBridgeBase type exposes the following members.

Constructors
 NameDescription
Protected methodJVMBridgeBaseInitializes a new instance of the JVMBridgeBase class
Top
Properties
 NameDescription
Public propertyBridgeClassName Java class name to be instantiated
Public propertyBridgeInstance The IJavaObject instance
Public propertyDynBridgeInstance The dynamic accessor to BridgeInstance
Public propertyIsBridgeAbstract if the BridgeClassName is an abstract class, i.e. cannot be created an instance
Public propertyIsBridgeCloseable if the BridgeClassName implements Closeable
Public propertyIsBridgeInterface if the BridgeClassName is an interface, i.e. does not have any public constructor
Public propertyIsBridgeListener if the BridgeClassName follows the listener pattern of JCOBridge: the BridgeClassName extends a JCListener or implements IJCListener
Public propertyIsBridgeStatic if the BridgeClassName is a static class, i.e. does not have any public constructor
Top
Methods
 NameDescription
Public methodCastDirectTNewClass Simplified version of CastToTNewClass which wraps this instance with a new TNewClass class
Public methodCastToTNewClass Casts this IJVMBridgeBase object into TNewClass
Public methodStatic memberClassNameOfT Retrieve the BridgeClassName of T
Public methodStatic memberClassOfT Retrieve the IJavaObject of the Java Class class associated to T
Public methodStatic memberClazzOf(String, Boolean) Return the IJavaType associated to the className
Public methodStatic memberClazzOfTClass(Boolean) Return the IJavaType associated to the TClass
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Overrides ObjectEquals(Object))
Public methodExecuteT Executes the code
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Overrides ObjectGetHashCode)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIExecute(String, Object) Executes an instance method
Public methodIExecuteTReturn(String, Object) Executes an instance method
Public methodIExecuteTNewClass, TReturn(String, Object) Executes an instance method
Public methodIExecuteTNewClass, TReturn, TConverter(String, Object) Executes an instance method
Public methodIExecuteArrayT Execute the method and build the result as an array of T
Public methodIExecuteWithSignature(String, String, Object) Executes an instance method
Public methodIExecuteWithSignatureTReturn(String, String, Object) Executes an instance method
Public methodIExecuteWithSignatureTNewClass, TReturn(String, String, Object) Executes an instance method
Public methodIExecuteWithSignatureTNewClass, TReturn, TConverter(String, String, Object) Executes an instance method
Public methodIExecuteWithSignatureArrayT Execute the method and build the result as an array of T
Public methodIGetField(String) Gets the value of a field identified by fieldName
Public methodIGetFieldTReturn(String) Gets the value of a field identified by fieldName
Public methodIGetFieldArrayTReturn Gets the value of a field identified by fieldName
Public methodISetField(String, Object) Sets the value of a field identified by fieldName
Public methodISetFieldTValue(String, TValue) Sets the value of a field identified by fieldName
Public methodIsInstanceOf(IJavaType) Verify if this IJVMBridgeBase is an instance of clazz
Public methodIsInstanceOf(String) Verify if this IJVMBridgeBase is an instance of clazz
Public methodIsInstanceOfT Verify if this IJVMBridgeBase is an instance of T
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodMonitorEnter Enters the monitor associated with the underlying with this IJVMBridgeBase
Public methodMonitorExit Exits the monitor associated with the underlying with this IJVMBridgeBase
Public methodNotify Wakes up a single thread that is waiting on this object's monitor.
Public methodNotifyAll Wakes up all threads that are waiting on this object's monitor.
Public methodStatic memberRuntimeClassNameOfT Retrieve the BridgeClassName of T
Public methodRuntimeIsInstanceOfT Verify if this IJVMBridgeBase is an instance of T; the constraints of T are checked at runtime, while IsInstanceOfT checks T constraint at compile time
Public methodToStringReturns a string that represents the current object.
(Overrides ObjectToString)
Public methodWait Causes the current thread to wait until it is awakened, typically by being notified or interrupted.
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.
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.
Public methodStatic memberWraps(Type, IJavaObject, String) Wraps the javaObject with a new type class
Public methodStatic memberWrapsTNewClass(IJavaObject) Wraps the javaObject with a new TNewClass class
Public methodStatic memberWrapsTReturn(Type, IJavaObject, String) Wraps the javaObject with a new type class
Public methodStatic memberWrapsTNewClass, TReturn(IJavaObject) Wraps the javaObject with a new TNewClass class
Public methodStatic memberWrapsTReturn, TConverter(Type, IJavaObject) Wraps the javaObject with a new type class
Public methodStatic memberWrapsTNewClass, TReturn, TConverter(IJavaObject) Wraps the javaObject with a new TNewClass class
Public methodStatic memberWrapsDirectTNewClass Simplified version of WrapsTNewClass(IJavaObject) which wraps the javaObject with a new TNewClass class
Top
Extension Methods
 NameDescription
Public Extension MethodCastTObject Casts the input object implemeneting IJVMBridgeBase into TObject
(Defined by JCOBridgeExtensions)
Public Extension MethodConvertTReturn Converts a generic object
(Defined by JCOBridgeExtensions)
Public Extension MethodGlobalize Creates a new global instance pointer
(Defined by JCOBridge)
Public Extension MethodInitializeListener Request the initialization of the Listener from the JVM. The listener is a new class which inherits from JVMBridgeListener
(Defined by JCOBridgeExtensions)
Public Extension MethodReleaseListener Release a IJVMBridgeBase from the JVM
(Defined by JCOBridgeExtensions)
Public Extension MethodToNative Converts a IJVMBridgeBase input to an object manageable from the JVM
(Defined by JCOBridgeExtensions)
Public Extension MethodToNative Converts a generic input to an object manageable from the JVM
(Defined by JCOBridgeExtensions)
Top
See Also