|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.openjpa.lib.util.J2DoPrivHelper org.apache.openjpa.lib.util.J2DoPriv5Helper
public abstract class J2DoPriv5Helper
Helper class to obtain the Privilege(Exception)Action object to perform Java 2 doPrivilege security sensitive function call in the following methods:
Constructor Summary | |
---|---|
J2DoPriv5Helper()
|
Method Summary | |
---|---|
static PrivilegedAction |
getAnnotationsAction(AnnotatedElement element)
Return a PrivilegeAction object for AnnotatedElement.getAnnotations(). |
static PrivilegedAction |
getDeclaredAnnotationsAction(AnnotatedElement element)
Return a PrivilegeAction object for AnnotatedElement.getDeclaredAnnotations(). |
static PrivilegedAction |
isAnnotationPresentAction(AnnotatedElement element,
Class annotationClazz)
Return a PrivilegeAction object for AnnotatedElement.isAnnotationPresent(). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public J2DoPriv5Helper()
Method Detail |
---|
public static final PrivilegedAction getAnnotationsAction(AnnotatedElement element)
public static final PrivilegedAction getDeclaredAnnotationsAction(AnnotatedElement element)
public static final PrivilegedAction isAnnotationPresentAction(AnnotatedElement element, Class annotationClazz)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |