In PureMVC, the View
class assumes these responsibilities:
- Maintain a cache of IMediator instances.
- Provide methods for registering, retrieving, and removing Mediators.
- Notifiying Mediators when they are registered or removed.
- Managing the observer lists for each Notification in the
application.
- Providing a method for attaching Observers to an Notification‘s
observer list.
- Providing a method for broadcasting an Notification.
- Notifying the Observers of a given Notification when it
broadcast.