1. A method for supporting communication in a computing environment, comprising: providing an event system, which is based on a dependency injection (DI) framework, to support communication between a publisher and a subscriber in the computing environment; providing a service provider interface (SPI) between the publisher and the subscriber; and delegating to the SPI one or more decisions on how the producer and the consumer are related in the computing environment.