Hello Taher, Taher Alkhateeb <slidingfilame...@gmail.com> writes:
> Can you explain hat you want to do exactly? How do these services > access the delegator and whatnot? Basically what I have in mind, is to organize services in classes like what is done in Java with the same method signature: (Map ⨯ Map) → Map where the maps parameters correspond respectively to the “dispatch context” and the “service input”. The main difference with Java services is the possibility to write map and list literals, and avoid explicit typing with ‘def’. Additionally it would be easy to provide a method for the dispatcher which could reads like the current ‘run’ method of the DSL and provide the same semantics (throwing an exception upon failure). Something like: dispatcher.run service: "fooService" with: [...] Thanks for your questions. -- Mathieu Lirzin GPG: F2A3 8D7E EB2B 6640 5761 070D 0ADE E100 9460 4D37