Add PropertyHelper for running ProteoCache
authorSasha Sherstnev <a.sherstnev@dundee.ac.uk>
Fri, 8 Nov 2013 10:22:23 +0000 (10:22 +0000)
committerSasha Sherstnev <a.sherstnev@dundee.ac.uk>
Fri, 8 Nov 2013 10:22:23 +0000 (10:22 +0000)
server/compbio/listeners/ContextListener.java

index f8bcc75..75f4275 100644 (file)
@@ -10,6 +10,8 @@ import javax.servlet.ServletContextListener;
 import javax.servlet.annotation.WebListener;
 
 import compbio.cassandra.CassandraNativeConnector;
+import compbio.engine.ProteoCachePropertyHelperManager;
+import compbio.util.PropertyHelper;
 
 /**
  * Application Lifecycle Listener implementation class ContextListener
@@ -19,6 +21,7 @@ import compbio.cassandra.CassandraNativeConnector;
 public class ContextListener implements ServletContextListener {
        private ScheduledExecutorService webjob_scheduler;
        CassandraNativeConnector db = new CassandraNativeConnector();
+       static PropertyHelper ph = ProteoCachePropertyHelperManager.getPropertyHelper();
 
        /**
         * @see ServletContextListener#contextInitialized(ServletContextEvent)