JVMBridgeBaseTClass Class |
Namespace: MASES.JCOBridge.C2JBridge
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 ClassName |
Name | Description | |
---|---|---|
ClassName |
Java class name to be instantiated
(Inherited from JVMBridgeBase.) | |
Clazz |
The IJavaType of the implementing class
| |
DynClazz |
The dynamic accessor to Clazz | |
DynInstance |
The dynamic accessor to Instance (Inherited from JVMBridgeBase.) | |
Instance |
The IJavaObject instance
(Inherited from JVMBridgeBase.) | |
IsAbstract | if the ClassName is an abstract class, i.e. cannot be created an instance
(Inherited from JVMBridgeBase.) | |
IsCloseable | if the ClassName implements Closeable
(Inherited from JVMBridgeBase.) | |
IsInterface | if the ClassName is an interface, i.e. does not have any public constructor
(Inherited from JVMBridgeBase.) | |
IsListener | if the ClassName follows the listener pattern of JCOBridge: the ClassName extends a JCListener or implements IJCListener
(Inherited from JVMBridgeBase.) | |
IsStatic | if the ClassName is a static class, i.e. does not have any public constructor
(Inherited from JVMBridgeBase.) |
Name | Description | |
---|---|---|
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.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
New(Object) |
Create a new instance of the TClass | |
NewTNewClass(String, Object) | Obsolete.
Executes an instance method
(Inherited from JVMBridgeBase.) | |
SExecute(String, Object) |
Executes a static method
| |
SExecute(Type, String, Object) |
Executes a static method which returns a bridged class
| |
SExecuteTReturn(String, Object) |
Executes a static method which returns a bridged class
| |
SExecuteTReturn(Type, String, Object) |
Executes a static method which returns a bridged class
| |
SExecuteTNewClass, TReturn(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
| |
SExecuteTNewClass, TReturn, TConverter(String, Object) |
Executes a static method which returns a bridged class
| |
ToString | Returns a string that represents the current object. (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 CLRListener (Defined by JCOBridgeExtensions.) | |
ReleaseListener |
Release a IJVMBridgeBase from the JVM
(Defined by JCOBridgeExtensions.) | |
ToNative | Overloaded.
Converts a IJVMBridgeBase input to an object manageable from the JVM
(Defined by JCOBridgeExtensions.) | |
ToNative | Overloaded.
Converts a generic input to an object manageable from the JVM
(Defined by JCOBridgeExtensions.) |
Name | Description | |
---|---|---|
IJVMBridgeBaseStaticClazz |
The IJavaType of the implementing class
| |
IJVMBridgeBaseStaticDynClazz |
The dynamic accessor to Clazz |
class TheClass : JVMBridgeBase<TheClass> { public override string ClassName => "org.company.TheClass"; public TheClass() { } }