Ticket #180 (closed enhancement: completed)
Call-method command
| Reported by: | peterfarrell | Owned by: | kurtwiersma |
|---|---|---|---|
| Priority: | critical | Milestone: | Mach-II 1.8.0 alpha |
| Component: | framework - core | Version: | 1.8.0 - Framework |
| Keywords: | call-method, call, method | Cc: | |
| Blocking: | Blocked By: |
Description
Often when writing Mach II applications the developer is required to create a method in a listener that simply calls a method in the application's service layer with out any additional logic. This requires the developer to write extra listener methods that don't really serve any purpose. Mach II should make this easier by providing a command that can be used in the Mach II configuration file to allow the framework to call a method in the service layer and optionally put the result in a event argument. Simple argument passing should be allow via the use of the new expression syntax for access elements in the event or properties objects.
