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