public static BundleClassLoader newPriviledged ( final Bundle bundle , final ClassLoader parent ) { return AccessController . doPrivileged ( new PrivilegedAction < BundleClassLoader > ( ) { public BundleClassLoader run ( ) { return new BundleClassLoader ( bundle , parent ) ; } } ) ; }
Privileged factory method .