Click or drag to resize

JVMBridgeBaseTClass Class

Public entry point of JVMBridgeBaseTClass
Inheritance Hierarchy

Namespace:  MASES.JCOBridge.C2JBridge
Assembly:  C2JBridge (in C2JBridge.dll) Version: 2.4.12.220507-908f547aedf9e08963d047b783e99d6b2ed61a1c
Syntax
public abstract class JVMBridgeBase<TClass> : JVMBridgeBase, 
	IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
where TClass : new(), IJVMBridgeBase

Type Parameters

TClass
A class inherited from JVMBridgeBaseTClass

The JVMBridgeBaseTClass type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyClassName
Java class name to be instantiated
(Inherited from JVMBridgeBase.)
Public propertyStatic memberClazz
The IJavaType of the implementing class
Public propertyStatic memberDynClazz
The dynamic accessor to Clazz
Public propertyDynInstance
The dynamic accessor to Instance
(Inherited from JVMBridgeBase.)
Public propertyInstance
The IJavaObject instance
(Inherited from JVMBridgeBase.)
Public propertyIsAbstract
if the ClassName is an abstract class, i.e. cannot be created an instance
(Inherited from JVMBridgeBase.)
Public propertyIsCloseable
if the ClassName implements Closeable
(Inherited from JVMBridgeBase.)
Public propertyIsInterface
if the ClassName is an interface, i.e. does not have any public constructor
(Inherited from JVMBridgeBase.)
Public propertyIsListener
if the ClassName follows the listener pattern of JCOBridge: the ClassName extends a JCListener or implements IJCListener
(Inherited from JVMBridgeBase.)
Public propertyIsStatic
if the ClassName is a static class, i.e. does not have any public constructor
(Inherited from JVMBridgeBase.)
Top
Methods
  NameDescription
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from JVMBridgeBase.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from JVMBridgeBase.)
Public methodExecuteT(T)
Executes the code
(Inherited from JVMBridgeBase.)
Public methodExecuteT(T)
Executes the code
(Overrides JVMBridgeBaseExecuteT(T).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from JVMBridgeBase.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIExecute(String, Object)
Executes an instance method
(Inherited from JVMBridgeBase.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberNew(Object)
Create a new instance of the TClass
Public methodNewTNewClass(String, Object) Obsolete.
Executes an instance method
(Inherited from JVMBridgeBase.)
Public methodStatic memberSExecute(String, Object)
Executes a static method
Public methodStatic memberSExecute(Type, String, Object)
Executes a static method which returns a bridged class
Public methodStatic memberSExecuteTReturn(String, Object)
Executes a static method which returns a bridged class
Public methodStatic memberSExecuteTReturn(Type, String, Object)
Executes a static method which returns a bridged class
Public methodStatic memberSExecuteTNewClass, TReturn(String, Object)
Executes a static method which returns a bridged class
Public methodStatic memberSExecuteTReturn, TConverter(Type, String, Object)
Executes a static method which returns a bridged class
Public methodStatic memberSExecuteTNewClass, TReturn, TConverter(String, Object)
Executes a static method which returns a bridged class
Public methodToString
Returns a string that represents the current object.
(Inherited from JVMBridgeBase.)
Top
Extension Methods
Explicit Interface Implementations
Examples
This is a basic example showing JVMBridgeBaseTClass class usage
C#
class TheClass : JVMBridgeBase<TheClass>
{
    public override string ClassName => "org.company.TheClass";

    public TheClass()
    {
    }
}
See Also