Table of Contents

Class GenericCommand

Namespace
MASES.JNet.Specific
Assembly
MASES.JNet.dll

Generic class to launch a main method in a Java class

public class GenericCommand : JVMBridgeMainExtensible<GenericCommand>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBase>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IJVMBridgeMain
Inheritance
GenericCommand
Implements
Inherited Members
Extension Methods

Constructors

GenericCommand()

Initialize a new GenericCommand

public GenericCommand()

GenericCommand(IJVMBridgeBaseInitializer)

Internal constructor: used internally from JCOBridge

[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public GenericCommand(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

Methods

CreateAndLaunch(string, params object[])

Creates and launch the GenericCommand class based on className

public static void CreateAndLaunch(string className, params object[] args)

Parameters

className string

The class to be instantiated having the main method

args object[]

Arguments to send to main method