1 21 package oracle.toplink.essentials.internal.security; 23 24 import java.security.PrivilegedExceptionAction ; 25 26 public class PrivilegedGetMethods implements PrivilegedExceptionAction { 27 28 private Class clazz; 29 30 public PrivilegedGetMethods(Class clazz) { 31 this.clazz = clazz; 32 } 33 34 public Object run() { 35 return PrivilegedAccessHelper.getMethods(clazz); 36 } 37 38 } 39 40 | Popular Tags |