Class AnnotationHelper
java.lang.Object
org.apache.sling.scripting.jsp.jasper.runtime.AnnotationHelper
Verify the annotation and Process it.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidpostConstruct(AnnotationProcessor processor, Object instance) Call postConstruct method on the specified instance.static voidpreDestroy(AnnotationProcessor processor, Object instance) Call preDestroy method on the specified instance.
-
Constructor Details
-
AnnotationHelper
public AnnotationHelper()
-
-
Method Details
-
postConstruct
public static void postConstruct(AnnotationProcessor processor, Object instance) throws IllegalAccessException, InvocationTargetException, NamingException Call postConstruct method on the specified instance. Note: In Jasper, this calls naming resources injection as well. -
preDestroy
public static void preDestroy(AnnotationProcessor processor, Object instance) throws IllegalAccessException, InvocationTargetException Call preDestroy method on the specified instance.
-