Hey,

I have now fixed up the EntityStore that works with the Preferences API. The point of this ES is to store ConfigurationComposites for your ServiceComposites. Basically, in your layer/module where you register the ConfigurationComposites you should also register this EntityStore. See test code for example on how to use it.

On Mac this will create a file under e.g. ~/Library/Preferences, and then have one node for each ConfigurationComposite that you store. Under that node you will have three subnodes for "properties", "associations" and "manyassociations", each of which will have the data for the configuration. Not sure how this works on other OS's.

One question is whether we should also have our own Preferences SPI implementation, or if we just go with whatever the platform uses as default? For myself I think I'm gonna go with the defaults for now and see how that ends up in practice.

/Rickard

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to