public class PreDestroyAnnotationProcessor extends java.lang.Object implements MethodPostProcessor<javax.annotation.PreDestroy>
DestroyableManager to be called on shutdown.| Constructor and Description |
|---|
PreDestroyAnnotationProcessor(DestroyableManager manager) |
| Modifier and Type | Method and Description |
|---|---|
void |
process(javax.annotation.PreDestroy annotation,
java.lang.reflect.Method method,
java.lang.Object instance)
Called to post process annotated bean method.
|
public PreDestroyAnnotationProcessor(DestroyableManager manager)
public void process(javax.annotation.PreDestroy annotation,
java.lang.reflect.Method method,
java.lang.Object instance)
throws java.lang.Exception
MethodPostProcessorprocess in interface MethodPostProcessor<javax.annotation.PreDestroy>annotation - annotation instancemethod - annotated methodinstance - bean instancejava.lang.Exception - on any unrecoverable errorAnnotatedMethodTypeListener