Hi Tibor, Tibor Mlynarik a écrit :
I see that some assemblers use builder pattern and there is withConfigAssembly(ModuleAssembly) method to handle this. ( i.e. SchedulerAssembler )
Sure, we could keep that as a convention. I second that it's a better idea thansplitting assemblies in two Assemblers.
what I would like to have is custom fallback mechanism for config entities. Current one is looking up for<service_id>.properties and I would like to have them in one yaml file. How can I change this implementation ?
The simplest way I see would be to implement a very small EntityStore backed by a single yaml file, or easier, a single json file. It would not be usable as a true EntityStore but would do the job for Configuration entities. Note that .properties files are only used to declare defaults and that Configuration is meant to be writable by Applications so for full support you would have to implement a R/W EntityStore. Such EntityStore would use the FileConfiguration library to locate the used file. Could be a handy extension to the SDK (entitystore-jsonfile?). /Paul _______________________________________________ qi4j-dev mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/qi4j-dev

