kwattro/KwattroNeo4jOGMBundle — pull request #4 by sgarner (2012-09-17 23:54:12+00:00)
Title: Change how the GraphManager is initialised

I had a rethink about this. The previous code was not working properly. It was creating its own Neo4j Client, MetaRepository and ProxyFactory instances, and then setting them on the upstream EntityManager. However, it was then calling EntityManager's constructor, which would overwrite all of those values with defaults from an empty configuration.

So I've ripped all that out and now the GraphManager just acts as a simple wrapper that takes the host, port, etc parameters from the service config and turns them into a Configuration which it passes to the parent class (EntityManager) constructor. The work of instantiating the Client, MetaRepository etc can be left to the upstream.