FileDocCategorySizeDatePackage
FilterClassImplementsValidInterface.javaAPI DocGlassfish v2 API2867Fri May 04 22:34:10 BST 2007com.sun.enterprise.tools.verifier.tests.web

FilterClassImplementsValidInterface

public class FilterClassImplementsValidInterface extends FilterClass implements WebCheck
Filter class must implement a valid interface. Verify that the Filter class implements the javax.servlet.Filter interface
author
Jerome Dochez
version
1.0

Fields Summary
Constructors Summary
Methods Summary
protected booleanrunIndividualFilterTest(com.sun.enterprise.tools.verifier.Result result, java.lang.Class filterClass)

Run the verifier test against a declared individual filter class

param
result is used to put the test results in
param
filterClass is the individual filter class object to test
return
true if the test pass

                
        if (filterClass==null) {
            return false;
        }
        return testImplementationOf(filterClass, "javax.servlet.Filter", result);