code: public void install() {
  
          OpenCms.getEventManager().addCmsEventListener(
              this,
              new int[] {
                  I_CmsEventListener.EVENT_CLEAR_CACHES,
                  I_CmsEventListener.EVENT_CLEAR_OFFLINE_CACHES,
                  I_CmsEventListener.EVENT_CLEAR_ONLINE_CACHES});
      }
docs: Installs this instance as an event listener.<p>