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

ConnectorClosureCompiler

public class ConnectorClosureCompiler 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 ConnectorClosureCompiler(String specVersion, com.sun.enterprise.tools.verifier.apiscan.classfile.ClassFileLoader cfl)
Creates a new instance of ConnectorClosureCompiler


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

        String apiName = "connector_" + 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());
        }