public interface AppContextCleanup
AppContext
that call a cleanup
as part of AppContext.close()
These can be attributes or AppContextService
Modifier and Type | Method and Description |
---|---|
void |
cleanup()
AppContext is being closed. |
void cleanup()
AppContext
is being closed.
Only use this for cleanup that can't be handled by
normal garbage collection or for state which is never returned by reference.