Class Main

java.lang.Object
org.jboss.modules.Main

public final class Main extends Object
The main entry point of JBoss Modules when run as a JAR on the command line.
  • Field Details

    • NO_STRINGS

      private static final String[] NO_STRINGS
    • JAR_NAME

      private static final String JAR_NAME
    • VERSION_STRING

      private static final String VERSION_STRING
  • Constructor Details

    • Main

      private Main()
  • Method Details

    • usage

      private static void usage()
    • main

      public static void main(String[] args) throws Throwable
      Run JBoss Modules.
      Parameters:
      args - the command-line arguments
      Throws:
      Throwable - if an error occurs
    • getServiceName

      private static String getServiceName(ClassLoader classLoader, String className) throws IOException
      Throws:
      IOException
    • getJarName

      public static String getJarName()
      Get the name of the JBoss Modules JAR.
      Returns:
      the name
    • getVersionString

      public static String getVersionString()
      Get the version string of JBoss Modules.
      Returns:
      the version string