|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.bval.util.PrivilegedActions
public class PrivilegedActions
Description: utility methods to perform actions with AccessController or without.
Constructor Summary | |
---|---|
PrivilegedActions()
|
Method Summary | |
---|---|
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(). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PrivilegedActions()
Method Detail |
---|
@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,
- InvocationTargetException
IllegalAccessException
InvocationTargetException
public static ClassLoader getClassLoader(Class<?> clazz)
public static final String getProperty(String name)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |