This commit also deprecates the existing listener API and includes support for adapting existing listener implementations to the new API.
This commit also deprecates the existing listener API and includes support for adapting existing listener implementations to the new API.