public class AppUtils extends Object
Constructor and Description |
---|
AppUtils() |
Modifier and Type | Method and Description |
---|---|
static Object |
createInstance(String className,
Class<?> targetClass,
boolean failWithError)
Instantiates a bean given the bean class.
|
static String |
getStartupProperty(String key,
String defaultValue)
Get a startup property
|
static void |
setStartupProperty(String key,
String value)
Set a startup property value.
|
public static void setStartupProperty(String key, String value)
key
- the key to setvalue
- the value to set, null to remove the keypublic static String getStartupProperty(String key, String defaultValue)
Copyright © 2013. All Rights Reserved.