package com.google.tripmeout.frontend;

import com.google.inject.Guice;
import com.google.inject.Injector;
import com.google.inject.servlet.GuiceServletContextListener;
import com.google.tripmeout.frontend.serialization.GsonModelSerializationModule;
import com.google.tripmeout.frontend.servlet.ServletsModule;
import com.google.tripmeout.frontend.storage.StorageBindingModule;

/**
 * Provides an {@link Injector} configured to serve the frontend application routes.
 *
 * @see https://github.com/google/guice/wiki/ServletModule
 */
public class FrontendGuiceServletContextListener extends GuiceServletContextListener {
  @Override
  protected Injector getInjector() {
    return Guice.createInjector(
        new GsonModelSerializationModule(), new ServletsModule(), new StorageBindingModule());
  }
}

@@ -349,16 +349,24 @@
 storage.
+InMemory
 StorageB
@@ -774,16 +774,24 @@
 (), new 
+InMemory
 StorageB

fix storage module name in guice context listener