FileDocCategorySizeDatePackage
AppClientClosureCompiler.javaAPI DocGlassfish v2 API3719Fri May 04 22:33:26 BST 2007com.sun.enterprise.tools.verifier.apiscan.stdapis

AppClientClosureCompiler

public class AppClientClosureCompiler extends com.sun.enterprise.tools.verifier.apiscan.classfile.ClosureCompilerImpl
author
Sanjeeb.Sahoo@Sun.COM

Fields Summary
private static Logger
logger
private static final String
myClassName
private String
specVersion
Constructors Summary
public AppClientClosureCompiler(String specVersion, com.sun.enterprise.tools.verifier.apiscan.classfile.ClassFileLoader cfl)
Creates a new instance of AppClientClosureCompiler


               
         
        super(cfl);
        logger.entering(myClassName, "init<>", specVersion); // NOI18N
        this.specVersion = specVersion;
        addStandardAPIs();
    
Methods Summary
protected voidaddStandardAPIs()

        String apiName = "appclient_" + specVersion; // NOI18N
        Collection classes = APIRepository.Instance().getClassesFor(apiName);
        for (Iterator i = classes.iterator(); i.hasNext();) {
            addExcludedClass((String) i.next());
        }
        Collection pkgs = APIRepository.Instance().getPackagesFor(apiName);
        for (Iterator i = pkgs.iterator(); i.hasNext();) {
            addExcludedPackage((String) i.next());
        }
        Collection patterns = APIRepository.Instance().getPatternsFor(apiName);
        for (Iterator i = patterns.iterator(); i.hasNext();) {
            addExcludedPattern((String) i.next());
        }