Class AnnotationHelper
- java.lang.Object
-
- org.apache.sling.scripting.jsp.jasper.runtime.AnnotationHelper
-
public class AnnotationHelper extends java.lang.ObjectVerify the annotation and Process it.
-
-
Constructor Summary
Constructors Constructor Description AnnotationHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidpostConstruct(AnnotationProcessor processor, java.lang.Object instance)Call postConstruct method on the specified instance.static voidpreDestroy(AnnotationProcessor processor, java.lang.Object instance)Call preDestroy method on the specified instance.
-
-
-
Method Detail
-
postConstruct
public static void postConstruct(AnnotationProcessor processor, java.lang.Object instance) throws java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, javax.naming.NamingException
Call postConstruct method on the specified instance. Note: In Jasper, this calls naming resources injection as well.- Throws:
java.lang.IllegalAccessExceptionjava.lang.reflect.InvocationTargetExceptionjavax.naming.NamingException
-
preDestroy
public static void preDestroy(AnnotationProcessor processor, java.lang.Object instance) throws java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
Call preDestroy method on the specified instance.- Throws:
java.lang.IllegalAccessExceptionjava.lang.reflect.InvocationTargetException
-
-