Package org.bedework.sysevents
Class NotificationsHandlerFactory
java.lang.Object
org.bedework.sysevents.NotificationsHandlerFactory
Return a single instance of a notifications handler.
- Author:
- Mike Douglass
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidclose()Close the handlerstatic voidpost(SysEventBase ev) Called to notify container that an event occurred.
-
Constructor Details
-
NotificationsHandlerFactory
public NotificationsHandlerFactory()
-
-
Method Details
-
close
public static void close()Close the handler -
post
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
-