Class NotificationsHandlerFactory

java.lang.Object
org.bedework.sysevents.NotificationsHandlerFactory

public class NotificationsHandlerFactory extends Object
Return a single instance of a notifications handler.
Author:
Mike Douglass
  • Constructor Details

    • NotificationsHandlerFactory

      public NotificationsHandlerFactory()
  • Method Details

    • close

      public static void close()
      Close the handler
    • post

      public static void post(SysEventBase ev)
      Called to notify container that an event occurred. In general this should not be called directly as consumers may receive the messages immediately, perhaps before the referenced data has been written.
      Parameters:
      ev - system event
      Throws:
      RuntimeException - on fatal error