#1387 - Revert #1374 and expose io.ebean.event.ServletContextListener (as public API)

This commit is contained in:
rob bygrave
2018-05-27 15:54:32 +12:00
parent fa4af4ef98
commit 2e36402a76
2 changed files with 41 additions and 0 deletions
@@ -5,12 +5,15 @@ import io.ebeaninternal.server.lib.ShutdownManager;
import javax.servlet.ServletContextEvent;
/**
* Deprecated - migrate to io.ebean.event.ServletContextListener.
* <p>
* Listens for webserver server starting and stopping events.
* <p>
* Register this listener in the web.xml configuration file. This will listen
* for startup and shutdown events.
* </p>
*/
@Deprecated
public class ServletContextListener implements javax.servlet.ServletContextListener {
/**