public interface Destroyable
Indicates a service in Guice can be destroyed when the application shuts down. Implement by service classes that are injected into the Guice container.
- Igor Polevoy
Method SummaryModifier and TypeMethodDescription
destroy()Will be called when your app is shut down gracefully.
destroyvoid destroy()Will be called when your app is shut down gracefully.