Class Main

java.lang.Object
net.aifusion.utils.Main

public class Main extends Object
The Main (dispatcher) entry point for all Fusion tools
This program is the main entry point for all tools and provides a command line interface that dispatches the request to the different. The following tools are currently handled:
Cim Server
Run the cim Server
Tests
Run the unit tests
Configure
Create configuration needed for the CIM Server
MofParser
load mof files into the repository
Cim2Java
Create java source stubs from MOF
Java2Cim
Create mof files from java
Author:
Sharad Singhal
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    main(String[] args)
    The Main (dispatcher) entry point for all Fusion tools
    This program is the main entry point for all tools and provides a command line interface that dispatches the request to the different.
    static void
    showHelp(String javaCommand, String[] args)
    Show help for a command

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Main

      public Main()
  • Method Details

    • main

      public static void main(String[] args)
      The Main (dispatcher) entry point for all Fusion tools
      This program is the main entry point for all tools and provides a command line interface that dispatches the request to the different. The following tools are currently handled:
      server
      Run the cim Server
      test
      Run the unit tests
      config
      Create a CIM Server configuration
      parse
      load mof files into a repository
      c2j
      Create java source stubs from MOF
      j2c
      Create mof files from java
      Parameters:
      args - - program arguments.
    • showHelp

      public static void showHelp(String javaCommand, String[] args)
      Show help for a command
      Parameters:
      javaCommand - - the java command that needs to be run. May be null if using the dispatcher or a jar file where the dispatcher is the default
      args - - command line arguments given