FileDocCategorySizeDatePackage
AnnotationHelper.javaAPI DocApache Tomcat 6.0.142063Fri Jul 20 04:20:34 BST 2007org.apache.jasper.runtime

AnnotationHelper

public class AnnotationHelper extends Object
Verify the annotation and Process it.
author
Fabien Carrion
author
Remy Maucherat
version
$Revision: 467222 $, $Date: 2006-10-24 05:17:11 +0200 (mar., 24 oct. 2006) $

Fields Summary
Constructors Summary
Methods Summary
public static voidpostConstruct(org.apache.AnnotationProcessor processor, java.lang.Object instance)
Call postConstruct method on the specified instance. Note: In Jasper, this calls naming resources injection as well.

        if (processor != null) {
            processor.processAnnotations(instance);
            processor.postConstruct(instance);
        }
    
public static voidpreDestroy(org.apache.AnnotationProcessor processor, java.lang.Object instance)
Call preDestroy method on the specified instance.

        if (processor != null) {
            processor.preDestroy(instance);
        }