Hi all,
I just pushed an initial working bundle-build to
https://github.com/neo4j/neo4j-osgi. You can see the working test in
https://github.com/neo4j/neo4j-osgi/blob/master/examples/src/test/java/org/neo4j/examples/osgi/OSGiTest.java
that waits for the Activator to instantiate and register a
GraphDatabaseService and a LuceneIndex.

This should be tweaked, but maybe you can use the bundle project
https://github.com/neo4j/neo4j-osgi/blob/master/bundle/pom.xml , which
is just one pom.xml, as a blueprint for your OSGi environment Neo4j
bundle.

Right now JTA and others are drawn into the bundle, which might be too
much, but I think you get the picture.

This works even with the Java Service Loader architecture. Feel free
to fork and tune the bundles exports, and add more tests to it.

WDYT?

Cheers,

/peter neubauer

GTalk:      neubauer.peter
Skype       peter.neubauer
Phone       +46 704 106975
LinkedIn   http://www.linkedin.com/in/neubauer
Twitter      http://twitter.com/peterneubauer

http://www.neo4j.org               - Your high performance graph database.
http://startupbootcamp.org/    - Öresund - Innovation happens HERE.
http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.
_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to