package pt.ist.bennu.manager.servlets; import javax.servlet.ServletContextEvent; import javax.servlet.ServletContextListener; import javax.servlet.annotation.WebListener; import pt.ist.renderers.annotation.RenderersConfiguration; import pt.ist.struts.dispatch.annotation.MessageResources; import pt.ist.struts.dispatch.annotation.StrutsConfiguration; @WebListener @StrutsConfiguration(resources = { @MessageResources(key = "BENNU_MANAGER_RESOURCES", parameter = "resources/BennuManagerResources") }) @RenderersConfiguration(schemas = "/bennu-manager/schemas.xml") public class BennuManagerContextInitializer implements ServletContextListener { @Override public void contextInitialized(ServletContextEvent event) { System.out.println("Initializing Bennu Manager"); } @Override public void contextDestroyed(ServletContextEvent event) { } }