1. At a computer system connected to an event infrastructure, a method for configuring a domain-specific event processing functionality to work independently of the configuration of modules that utilize the event processing functionality, the method comprising: an act of configuring an executable module to process a domain-specific event by at least configuring the executable module to: receive parameters of a specified shape corresponding to the domain-specific event; and process the received parameters to implement domain-specific event processing functionality; and an act of associating a domain-specific annotation with the executable module to indicate that the executable module includes the domain-specific event processing functionality, the domain-specific annotation binding the executable module to parameters of the specified shape such that when a dispatch manager detects actual parameters having the specified shape, the dispatch manager can refer to the domain-specific annotation to determine that the actual parameters are to be transferred to the executable module to implement the domain-specific event processing functionality.