AnnotationHelperpublic class AnnotationHelper extends Object Verify the annotation and Process it. |
Methods Summary |
---|
public static void | postConstruct(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 void | preDestroy(org.apache.AnnotationProcessor processor, java.lang.Object instance)Call preDestroy method on the specified instance.
if (processor != null) {
processor.preDestroy(instance);
}
|
|