1. A system for distributed event processing, comprising: a plurality of processing resources and a capability repository, wherein: a first processing resource from the plurality of processing resources is configured to: receive a plurality of event streams from a plurality of operating contexts; identify, based upon the received event streams, a dynamically changing condition in a first one of said operating contexts; automatically decompose, based upon information stored in the capability repository, a complex event processing (CEP) query to effect a change responsive to the identified dynamically changing condition in the first one of said operating contexts; based upon the decomposed query, cause the first one of said operating contexts to effect the change; and effect a related change to operation of the first processing resource, the related change corresponding to the change caused to the first one of said operating contexts, and the capability repository is configured to store information regarding (a) a plurality of event sources that each transmit events to at least one of said processing resources, and (b) the plurality of operating contexts, each operating context being associated with a respective group of event sources and being associated with at least one of said plurality of processing resources.