org.kuali.common.util.main
Class MainUtils
java.lang.Object
org.kuali.common.util.main.MainUtils
public class MainUtils
- extends Object
Method Summary |
protected static void |
handleException(Exception e,
boolean stacktrace,
boolean exit)
|
static void |
run(Class<?> mainClass,
String[] args)
Load the @Configuration mainClass using Spring |
static void |
run(Class<?> mainClass,
String[] args,
boolean stacktrace)
Load the @Configuration mainClass using Spring |
static void |
run(Class<?> mainClass,
String[] args,
boolean stacktrace,
boolean exit)
|
static void |
runAndExit(Class<?> mainClass,
String[] args)
Load the @Configuration mainClass using Spring and then terminate the JVM. |
static void |
runAndExit(Class<?> mainClass,
String[] args,
boolean stacktrace)
Load the @Configuration mainClass using Spring and then terminate the JVM. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAIN_CONTEXT_BEAN_NAME
public static final String MAIN_CONTEXT_BEAN_NAME
- See Also:
- Constant Field Values
MAIN_PROFILE_NAME
public static final String MAIN_PROFILE_NAME
- See Also:
- Constant Field Values
MainUtils
public MainUtils()
runAndExit
public static void runAndExit(Class<?> mainClass,
String[] args)
- Load the @Configuration
mainClass
using Spring and then terminate the JVM.
runAndExit
public static void runAndExit(Class<?> mainClass,
String[] args,
boolean stacktrace)
- Load the @Configuration
mainClass
using Spring and then terminate the JVM.
run
public static void run(Class<?> mainClass,
String[] args,
boolean stacktrace)
- Load the @Configuration
mainClass
using Spring
run
public static void run(Class<?> mainClass,
String[] args)
- Load the @Configuration
mainClass
using Spring
run
public static void run(Class<?> mainClass,
String[] args,
boolean stacktrace,
boolean exit)
handleException
protected static void handleException(Exception e,
boolean stacktrace,
boolean exit)
Copyright © 2010–2014 The Kuali Foundation. All rights reserved.