public static final String SERVER_BASE_URL = "http://localhost:7575";
public static String configFile = "config-beans.xml";
public static ContextTrackingService getTrackingService() {
if (instance == null) {
context = new ClassPathXmlApplicationContext(configFile);
EnvironmentConfiguration conf = (EnvironmentConfiguration) context.getBean("environmentConf");
ContextTrackingServiceType type = (ContextTrackingServiceType) conf.get("ContextTrackingService");
if (type == null) {
throw new IllegalStateException("Persistence Service Type needs to be specified in spring");
}
switch (type) {
case IN_MEMORY: