On Jul 26, 2012, at 11:51 AM, Jacopo Cappellato wrote:
> * but the main question is: considering the layout described above, what is
> the purpose/goal of having several instances of LocalDispatcher with
> different names? Shouldn't we simply create one instance per delegator?
As a side note, this change(after the recent refactoring) should be rather easy
to implement; in fact it will be a matter of changing the signature of the
LocalDispatcher dispatcher = ServiceContainer.getLocalDispatcher(String
dispatcherName, Delegator delegator);
into:
LocalDispatcher dispatcher = ServiceContainer.getLocalDispatcher(Delegator
delegator);
and we will no more have to add the dispatcher name to the web.xml file of all
the web applications, for example:
<context-param>
<param-name>localDispatcherName</param-name>
<param-value>webtools</param-value>
<description>A unique name used to identify/recognize the local dispatcher
for the Service Engine</description>
</context-param>
Kind regards,
Jacopo