public class AnnotationHelper extends Object
Constructor and Description |
---|
AnnotationHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
postConstruct(org.apache.AnnotationProcessor processor,
Object instance)
Call postConstruct method on the specified instance.
|
static void |
preDestroy(org.apache.AnnotationProcessor processor,
Object instance)
Call preDestroy method on the specified instance.
|
public static void postConstruct(org.apache.AnnotationProcessor processor, Object instance) throws IllegalAccessException, InvocationTargetException, NamingException
processor
- annotation processorinstance
- object instanceIllegalAccessException
- on errorInvocationTargetException
- on errorNamingException
- on errorpublic static void preDestroy(org.apache.AnnotationProcessor processor, Object instance) throws IllegalAccessException, InvocationTargetException
processor
- annotation processorinstance
- object instanceIllegalAccessException
- on errorInvocationTargetException
- on errorCopyright © 2000–2023 Apache Software Foundation. All rights reserved.