neo4j/neo4j — pull request #3374 by K-Jo (2014-10-31 15:37:11+00:00)
Title: Aligning the GDB Factories

The HA Graph Database Factory adds to new methods rather than overriding the existing builders. This is what I tried to solve here. I left the old methods there, but deprecated them for backwards compatibility.

To be complete, also the class TestGraphDatabaseFactory should be adapted and there should be an interface for these factories.

This is important for many reasons, users using neo4j in embedded mode can e.g. easily use a different implementation of the factory for their testing purposes. I'm happy to receive comments and further update this pull request