Click or drag to resize

JVMBridgeMainTClass Class

Execute directly the class implementing the Java "main" method
Inheritance Hierarchy
SystemObject
  System.DynamicDynamicObject
    MASES.JCOBridge.C2JBridgeJVMBridgeBase
      MASES.JCOBridge.C2JBridgeJVMBridgeMainTClass

Namespace:  MASES.JCOBridge.C2JBridge
Assembly:  C2JBridge (in C2JBridge.dll) Version: 2.4.14.220818-82c2bf79b6e60a4d98fb4d1695305d68a91adf44
Syntax
public class JVMBridgeMain<TClass> : JVMBridgeBase
where TClass : new(), IJVMBridgeBase

Type Parameters

TClass
The class inherited from JVMBridgeBase

The JVMBridgeMainTClass type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyClassName
Java class name to be instantiated
(Overrides JVMBridgeBaseClassName.)
Public propertyStatic memberClazz
The Java Class accessor
Public propertyStatic memberDynClazz
The Java Class dynamic accessor
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 methodNewTNewClass(String, Object) Obsolete.
Executes an instance method
(Inherited from JVMBridgeBase.)
Public methodToString
Returns a string that represents the current object.
(Inherited from JVMBridgeBase.)
Top
Extension Methods
Examples
This is a basic example showing JVMBridgeMainTClass class usage
C#
class MainClass : JVMBridgeMain<MainClass>
{
    public MainClass()
        : base("org.company.MainClass")
    {
    }
}
See Also