Class EventPublisherFacade

java.lang.Object
org.gcube.portal.event.publisher.lr74.model.EventPublisherFacade

public class EventPublisherFacade extends Object
Facade to preserve legacy event publishing semantics, bridging LR6.2 logic to LR7.4.
  • Constructor Details

    • EventPublisherFacade

      public EventPublisherFacade()
  • Method Details

    • getInstance

      public static EventPublisherFacade getInstance()
    • onStartup

      public void onStartup() throws Exception
      Throws:
      Exception
    • onShutdown

      public void onShutdown() throws Exception
      Throws:
      Exception
    • onPostLogin

      public void onPostLogin(com.liferay.portal.kernel.events.LifecycleEvent event) throws Exception
      Throws:
      Exception
    • onPreLogout

      public void onPreLogout(com.liferay.portal.kernel.events.LifecycleEvent event) throws Exception
      Throws:
      Exception
    • publish

      public void publish(String eventName, Map<String,Object> payload)
      Generic publish for model events. Attempts to call publisher methods that accept a payload map.