public class PrivilegedActions extends Object
Constructor and Description |
---|
PrivilegedActions() |
Modifier and Type | Method and Description |
---|---|
static Object |
getAnnotationValue(Annotation annotation,
String name)
Return a PrivilegedAction object for clazz.getDeclaredMethod().invoke().
|
static Class<?> |
getClass(ClassLoader classLoader,
String className)
Perform AccessController.doPrivileged() action for ClassUtil.getClass()
|
static ClassLoader |
getClassLoader(Class<?> clazz)
Return a PrivilegeAction object for clazz.getClassloader().
|
static String |
getLineSeparator()
Deprecated.
|
static String |
getPathSeparator()
Deprecated.
|
static String |
getProperty(String name)
Return a PrivilegeAction object for System.getProperty().
|
@Deprecated public static final String getLineSeparator()
@Deprecated public static final String getPathSeparator()
public static Class<?> getClass(ClassLoader classLoader, String className) throws Exception
Exception
public static Object getAnnotationValue(Annotation annotation, String name) throws IllegalAccessException, InvocationTargetException
IllegalAccessException,
- InvocationTargetExceptionIllegalAccessException
InvocationTargetException
public static ClassLoader getClassLoader(Class<?> clazz)
Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.