JVMBridge |
public abstract class JVMBridgeBase<TClass> : JVMBridgeBase, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition where TClass : new(), IJVMBridgeBase
The JVMBridgeBaseTClass type exposes the following members.
Name | Description | |
---|---|---|
JVMBridgeBaseTClass | Used to create instance of BridgeClassName |
Name | Description | |
---|---|---|
BridgeClassName |
Java class name to be instantiated
(Inherited from JVMBridgeBase) | |
BridgeClazz | The IJavaType of the implementing class | |
BridgeInstance |
The IJavaObject instance
(Inherited from JVMBridgeBase) | |
DynBridgeClazz | The dynamic accessor to BridgeClazz | |
DynBridgeInstance |
The dynamic accessor to BridgeInstance (Inherited from JVMBridgeBase) | |
IsBridgeAbstract | if the BridgeClassName is an abstract class, i.e. cannot be created an instance
(Inherited from JVMBridgeBase) | |
IsBridgeCloseable | if the BridgeClassName implements Closeable
(Inherited from JVMBridgeBase) | |
IsBridgeInterface | if the BridgeClassName is an interface, i.e. does not have any public constructor
(Inherited from JVMBridgeBase) | |
IsBridgeListener | if the BridgeClassName follows the listener pattern of JCOBridge: the BridgeClassName extends a JCListener or implements IJCListener
(Inherited from JVMBridgeBase) | |
IsBridgeStatic | if the BridgeClassName is a static class, i.e. does not have any public constructor
(Inherited from JVMBridgeBase) |
Name | Description | |
---|---|---|
CastDirectTNewClass |
Simplified version of CastToTNewClass which wraps this instance with a new TNewClass class
(Inherited from JVMBridgeBase) | |
CastToTNewClass |
Casts this IJVMBridgeBase object into TNewClass (Inherited from JVMBridgeBase) | |
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from JVMBridgeBase) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from JVMBridgeBase) | |
ExecuteT(T) |
Executes the code
(Inherited from JVMBridgeBase) | |
ExecuteT(T) |
Executes the code
(Overrides JVMBridgeBaseExecuteT(T)) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
GetHashCode | Serves as the default hash function. (Inherited from JVMBridgeBase) | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
IExecute(String, Object) |
Executes an instance method
(Inherited from JVMBridgeBase) | |
IExecuteArrayT |
Execute the method and build the result as an array of T (Inherited from JVMBridgeBase) | |
IExecuteWithSignature(String, String, Object) |
Executes an instance method
(Inherited from JVMBridgeBase) | |
IExecuteWithSignatureArrayT |
Execute the method and build the result as an array of T (Inherited from JVMBridgeBase) | |
IGetField(String) |
Gets the value of a field identified by fieldName (Inherited from JVMBridgeBase) | |
IGetFieldArrayTReturn |
Gets the value of a field identified by fieldName (Inherited from JVMBridgeBase) | |
IsAssignableFrom(IJavaType) | Verify if this IJVMBridgeBase is assignable from clazz | |
IsAssignableFrom(String) | Verify if this IJVMBridgeBase is assignable from clazz | |
IsAssignableFromT | Verify if this IJVMBridgeBase is assignable from T | |
ISetField(String, Object) |
Sets the value of a field identified by fieldName (Inherited from JVMBridgeBase) | |
ISetFieldTValue(String, TValue) |
Sets the value of a field identified by fieldName (Inherited from JVMBridgeBase) | |
IsInstanceOf(IJavaType) |
Verify if this IJVMBridgeBase is an instance of clazz (Inherited from JVMBridgeBase) | |
IsInstanceOf(String) |
Verify if this IJVMBridgeBase is an instance of clazz (Inherited from JVMBridgeBase) | |
IsInstanceOfT |
Verify if this IJVMBridgeBase is an instance of T (Inherited from JVMBridgeBase) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
MonitorEnter |
Enters the monitor associated with the underlying with this IJVMBridgeBase (Inherited from JVMBridgeBase) | |
MonitorExit |
Exits the monitor associated with the underlying with this IJVMBridgeBase (Inherited from JVMBridgeBase) | |
New | Create a new instance of the TClass | |
NewWithSignature | Create a new instance of the TClass | |
Notify |
Wakes up a single thread that is waiting on this object's monitor.
(Inherited from JVMBridgeBase) | |
NotifyAll |
Wakes up all threads that are waiting on this object's monitor.
(Inherited from JVMBridgeBase) | |
RuntimeIsInstanceOfT |
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
(Inherited from JVMBridgeBase) | |
SExecute(String, Object) | Executes a static method | |
SExecute(IJavaType, String, Object) | Executes a static method | |
SExecute(Type, String, Object) | Executes a static method which returns a bridged class | |
SExecute(Type, IJavaType, String, Object) | Executes a static method which returns a bridged class | |
SExecuteTReturn(String, Object) | Executes a static method which returns a bridged class | |
SExecuteTReturn(IJavaType, String, Object) | Executes a static method which returns a bridged class | |
SExecuteTReturn(Type, String, Object) | Executes a static method which returns a bridged class | |
SExecuteTReturn(Type, IJavaType, String, Object) | Executes a static method which returns a bridged class | |
SExecuteTNewClass, TReturn(String, Object) | Executes a static method which returns a bridged class | |
SExecuteTNewClass, TReturn(IJavaType, String, Object) | Executes a static method which returns a bridged class | |
SExecuteTReturn, TConverter(Type, String, Object) | Executes a static method which returns a bridged class | |
SExecuteTReturn, TConverter(Type, IJavaType, String, Object) | Executes a static method which returns a bridged class | |
SExecuteTNewClass, TReturn, TConverter(String, Object) | Executes a static method which returns a bridged class | |
SExecuteTNewClass, TReturn, TConverter(IJavaType, String, Object) | Executes a static method which returns a bridged class | |
SExecuteArrayT(String, Object) | Execute the method and build the result as an array of T | |
SExecuteArrayT(IJavaType, String, Object) | Execute the method and build the result as an array of T | |
SExecuteWithSignature(String, String, Object) | Executes a static method | |
SExecuteWithSignature(IJavaType, String, String, Object) | Executes a static method | |
SExecuteWithSignature(Type, String, String, Object) | Executes a static method which returns a bridged class | |
SExecuteWithSignature(Type, IJavaType, String, String, Object) | Executes a static method which returns a bridged class | |
SExecuteWithSignatureTReturn(String, String, Object) | Executes a static method which returns a bridged class | |
SExecuteWithSignatureTReturn(IJavaType, String, String, Object) | Executes a static method which returns a bridged class | |
SExecuteWithSignatureTReturn(Type, String, String, Object) | Executes a static method which returns a bridged class | |
SExecuteWithSignatureTReturn(Type, IJavaType, String, String, Object) | Executes a static method which returns a bridged class | |
SExecuteWithSignatureTNewClass, TReturn(String, String, Object) | Executes a static method which returns a bridged class | |
SExecuteWithSignatureTNewClass, TReturn(IJavaType, String, String, Object) | Executes a static method which returns a bridged class | |
SExecuteWithSignatureTReturn, TConverter(Type, String, String, Object) | Executes a static method which returns a bridged class | |
SExecuteWithSignatureTReturn, TConverter(Type, IJavaType, String, String, Object) | Executes a static method which returns a bridged class | |
SExecuteWithSignatureTNewClass, TReturn, TConverter(String, String, Object) | Executes a static method which returns a bridged class | |
SExecuteWithSignatureTNewClass, TReturn, TConverter(IJavaType, String, String, Object) | Executes a static method which returns a bridged class | |
SExecuteWithSignatureArrayT(String, String, Object) | Execute the method and build the result as an array of T | |
SExecuteWithSignatureArrayT(IJavaType, String, String, Object) | Execute the method and build the result as an array of T | |
SGetField(String) | Gets the value of a static field identified by fieldName | |
SGetField(IJavaType, String) | Gets the value of a static field on clazz identified by fieldName | |
SGetFieldTReturn(String) | Gets the value of a static field identified by fieldName | |
SGetFieldTReturn(IJavaType, String) | Gets the value of a static field on clazz identified by fieldName | |
SGetFieldArrayTReturn(String) | Gets the value of a static field identified by fieldName | |
SGetFieldArrayTReturn(IJavaType, String) | Gets the value of a static field on clazz identified by fieldName | |
SSetField(String, Object) | Sets the value of a static field identified by fieldName | |
SSetField(IJavaType, String, Object) | Sets the value of a static field on clazz identified by fieldName | |
SSetFieldTValue(String, TValue) | Sets the value of a static field identified by fieldName | |
SSetFieldTValue(IJavaType, String, TValue) | Sets the value of a static field on clazz identified by fieldName | |
ToString | Returns a string that represents the current object. (Inherited from JVMBridgeBase) | |
Wait |
Causes the current thread to wait until it is awakened, typically by being notified or interrupted.
(Inherited from JVMBridgeBase) | |
Wait(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 JVMBridgeBase) | |
Wait(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 JVMBridgeBase) |
Name | Description | |
---|---|---|
CastTObject |
Casts the input object implemeneting IJVMBridgeBase into TObject (Defined by JCOBridgeExtensions) | |
ConvertTReturn |
Converts a generic object
(Defined by JCOBridgeExtensions) | |
InitializeListener |
Request the initialization of the Listener from the JVM. The listener is a new class which inherits from JVMBridgeListener (Defined by JCOBridgeExtensions) | |
ReleaseListener |
Release a IJVMBridgeBase from the JVM
(Defined by JCOBridgeExtensions) | |
ToNative |
Converts a IJVMBridgeBase input to an object manageable from the JVM
(Defined by JCOBridgeExtensions) | |
ToNative |
Converts a generic input to an object manageable from the JVM
(Defined by JCOBridgeExtensions) |
Name | Description | |
---|---|---|
IJVMBridgeBaseStaticBridgeClazz | The IJavaType of the implementing class | |
IJVMBridgeBaseStaticDynBridgeClazz | The dynamic accessor to BridgeClazz |
class TheClass : JVMBridgeBase<TheClass> { public override string BridgeClassName => "org.company.TheClass"; public TheClass() { } }