Facade constructor

Facade(
  1. String key
)

Constructor.

This IFacade implementation is a Multiton, so you should not call the constructor directly, but instead call the static getInstance method.

Implementation

Facade(String key) {
  if (instanceMap[key] != null) throw new MultitonErrorFacadeExists();
  initializeNotifier(key);
  instanceMap[_multitonKey] = this;
  initializeFacade();
}