Class GovernanceListenerManager


  • public class GovernanceListenerManager
    extends java.lang.Object
    GovernanceListenerManager manages the watchdog listeners through a single registration to the Governance Engine OMAS's out topic. This approach is used to enable the rapid changing list of watchdog listeners and their listening specification without pushing that churn to the event bus.
    • Constructor Summary

      Constructors 
      Constructor Description
      GovernanceListenerManager​(AuditLog auditLog, java.lang.String governanceEngineName)
      Create a governance listener manager for watchdog listeners.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void processEvent​(WatchdogGovernanceEvent event)
      Process a watchdog event that was published by the Governance Engine OMAS.
      void removeListener​(java.lang.String connectorId)
      Remove the listener for a specific governance service because this service has been disconnected.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GovernanceListenerManager

        public GovernanceListenerManager​(AuditLog auditLog,
                                         java.lang.String governanceEngineName)
        Create a governance listener manager for watchdog listeners.
        Parameters:
        auditLog - audit log for the listener manager
        governanceEngineName - engine name for messages
    • Method Detail

      • removeListener

        public void removeListener​(java.lang.String connectorId)
        Remove the listener for a specific governance service because this service has been disconnected.
        Parameters:
        connectorId - unique id of governance service instance