[[SNIP]]

It sounds like we don't really need multiple registries concurrently
in the same runtime but whats really wanted is a way to have
separately configurable Tuscany runtime instances from the same set of
Tuscany jars. That would be really useful, it would simplify a a lot
of our code, it would fix other cases where this has been an issue
like the ServletHost problems mentioned above, and it would help with
some other things i've never been able to find easy ways to do with
the current configuration options. So -

NO! Why do we have to clone Tuscany runtime instances in the same JVM for the mere purpose of supporting multiple domains? Please remember that all the code in the extension point registry is stateless and independent of the application state (domain/node/contribution/composite).


How about we add an optional config properties to the NodeFactory API
so that you can pass in arbitrary configuration options when creating
a NodeFactory instance. An example of one of those options would be a
way to override the default behavior of the service discovery, for
example, by changing the ranking value of an extension.


...ant

Reply via email to