/* Copyright (c) 2013 OpenPlans. All rights reserved.
 * This code is licensed under the BSD New License, available at the root
 * application directory.
 */
package org.geogit.storage.neo4j;

import org.geogit.storage.GraphDatabase;

import com.google.inject.AbstractModule;

public class Neo4JModule extends AbstractModule {

    @Override
    protected void configure() {
        bind(GraphDatabase.class).to(Neo4JGraphDatabase.class);
    }

}

@@ -268,16 +268,49 @@
 tModule;
+%0Aimport com.google.inject.Scopes;
 %0A%0Apublic
@@ -353,17 +353,16 @@
 odule %7B%0A
-%0A
     @Ove
@@ -466,15 +466,36 @@
 ass)
+.in(Scopes.SINGLETON)
 ;%0A    %7D%0A
 %0A%7D%0A
@@ -491,11 +491,10 @@
 ;%0A    %7D%0A
-%0A
 %7D%0A

Use Singleton scope for Neo4JGraphDatabase