|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PreDestroyInvoker
| Method Summary | |
|---|---|
void |
invokeAnnotatedMethods(Object managedBean,
boolean preferPreDestroy)
This method services as a convenience routine for invoking all methods of the specified managed-bean are marked with the PreDestroy or BridgePreDestroy
annotation. |
| Method Detail |
|---|
void invokeAnnotatedMethods(Object managedBean,
boolean preferPreDestroy)
PreDestroy or BridgePreDestroy
annotation. The JavaDocs state that if an exception is thrown by any of the pre-destroy annotated methods, they
are required to be caught and NOT re-thrown. Instead, exceptions are logged.
managedBean - The managed-bean that is to have its PreDestroy or BridgePreDestroy annotated method(s) invoked, if any.preferPreDestroy - Flag indicating that methods annotated with PreDestroy should
be preferably invoked over those annotated with BridgePreDestroy.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||