JVMBridge |
public abstract class JVMBridgeBase<TClass, TInterface> : JVMBridgeBase<TClass> where TClass : new(), TInterface, IJVMBridgeBase
The JVMBridgeBaseTClass, TInterface type exposes the following members.
Name | Description | |
---|---|---|
JVMBridgeBaseTClass, TInterface | Used to create instance of BridgeClassName | |
JVMBridgeBaseTClass, TInterface(Object) | Used to create instance of BridgeClassName |
Name | Description | |
---|---|---|
BridgeClassName |
Java class name to be instantiated
(Inherited from JVMBridgeBase) | |
BridgeInstance |
The IJavaObject instance
(Inherited from JVMBridgeBase) | |
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
(Inherited from JVMBridgeBaseTClass) | |
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 (Inherited from JVMBridgeBaseTClass) | |
IsAssignableFrom(String) |
Verify if this IJVMBridgeBase is assignable from clazz (Inherited from JVMBridgeBaseTClass) | |
IsAssignableFromT |
Verify if this IJVMBridgeBase is assignable from T (Inherited from JVMBridgeBaseTClass) | |
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) | |
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) | |
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 | |
---|---|---|
ConvertTReturn |
Converts a generic object
(Defined by JCOBridgeExtensions) | |
ToNative |
Converts a generic input to an object manageable from the JVM
(Defined by JCOBridgeExtensions) |
class TheClass : JVMBridgeBase<TheClass> { public override string BridgeClassName => "org.company.TheClass"; public TheClass() { } }