Package org.javalite.activeweb
Interface Destroyable
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.
- Author:
- Igor Polevoy
-
Method Summary
Modifier and TypeMethodDescriptionvoid
destroy()
Will be called when your app is shut down gracefully.
-
Method Details
-
destroy
void destroy()Will be called when your app is shut down gracefully.
-