Class AttachedActivityCacheUpdater

  • All Implemented Interfaces:
    org.exoplatform.container.component.ComponentPlugin

    public class AttachedActivityCacheUpdater
    extends org.exoplatform.services.listener.Listener<String,​News>
    A listener to clear cached news inside ExoSocialActivity.getLinkedProcessedEntities() after any modification made on News
    • Constructor Detail

      • AttachedActivityCacheUpdater

        public AttachedActivityCacheUpdater​(org.exoplatform.social.core.storage.api.ActivityStorage activityStorage)
    • Method Detail

      • onEvent

        public void onEvent​(org.exoplatform.services.listener.Event<String,​News> event)
                     throws Exception
        Specified by:
        onEvent in class org.exoplatform.services.listener.Listener<String,​News>
        Throws:
        Exception