improve ScmWebPlugin api

This commit is contained in:
Sebastian Sdorra
2010-09-26 16:16:38 +02:00
parent 16052aeb4b
commit 2d666f5b14
3 changed files with 45 additions and 11 deletions

View File

@@ -62,7 +62,8 @@ public class ContextListener extends GuiceServletContextListener
@Override
public void contextInitialized(ServletContextEvent servletContextEvent)
{
webPluginContext = new ScmWebPluginContext();
webPluginContext =
new ScmWebPluginContext(servletContextEvent.getServletContext());
List<ScmWebPlugin> plugins = ServiceUtil.getServices(ScmWebPlugin.class);