FileDocCategorySizeDatePackage
PrivilegedClassForName.javaAPI DocGlassfish v2 API2807Tue May 22 16:54:42 BST 2007oracle.toplink.essentials.internal.security

PrivilegedClassForName

public class PrivilegedClassForName extends Object implements PrivilegedExceptionAction

Fields Summary
private String
className
private boolean
initialize
private ClassLoader
loader
Constructors Summary
public PrivilegedClassForName(String className, boolean initialize, ClassLoader loader)

        this.className = className;
        this.initialize = initialize;
        this.loader = loader;
    
public PrivilegedClassForName(String className)

        this.className = className;
    
Methods Summary
public java.lang.Objectrun()

        if (loader == null){
            return PrivilegedAccessHelper.getClassForName(className);
        } else {
            return PrivilegedAccessHelper.getClassForName(className, initialize, loader);
        }