Package org.jboss.modules
Class Main
java.lang.Object
org.jboss.modules.Main
The main entry point of JBoss Modules when run as a JAR on the command line.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
Get the name of the JBoss Modules JAR.private static String
getServiceName
(ClassLoader classLoader, String className) static String
Get the version string of JBoss Modules.static void
Run JBoss Modules.private static void
usage()
-
Field Details
-
NO_STRINGS
-
JAR_NAME
-
VERSION_STRING
-
-
Constructor Details
-
Main
private Main()
-
-
Method Details
-
usage
private static void usage() -
main
Run JBoss Modules.- Parameters:
args
- the command-line arguments- Throws:
Throwable
- if an error occurs
-
getServiceName
- Throws:
IOException
-
getJarName
Get the name of the JBoss Modules JAR.- Returns:
- the name
-
getVersionString
Get the version string of JBoss Modules.- Returns:
- the version string
-