net.ranides.assira.generic
Class PrivilegedActions
java.lang.Object
net.ranides.assira.generic.PrivilegedActions
public final class PrivilegedActions
- extends Object
- Author:
- ranides
getProperty
public static String getProperty(String key)
- Gets the system property indicated by the specified key.
- Parameters:
key - the name of the system property.
- Returns:
- the string value of the system property,
or the default value if there is no property with that key.
- See Also:
System.getProperty(String,String)
getProperty
public static String getProperty(String key,
String ddefault)
- Parameters:
key - the name of the system property.ddefault - a default value.
- Returns:
- the string value of the system property,
or the default value if there is no property with that key.
getContextClassLoader
public static ClassLoader getContextClassLoader()
- Returns:
getStaticField
public static Object getStaticField(Class<?> clazz,
String field)
getStaticField
public static Object getStaticField(String clazz,
String field)
$getStaticField
public static <T> T $getStaticField(String clazz,
String field)
Copyright © 2013. All Rights Reserved.