Class EmailNorthbounderManager

  • All Implemented Interfaces:
    Northbounder, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean

    public class EmailNorthbounderManager
    extends Object
    implements org.springframework.beans.factory.InitializingBean, Northbounder, org.springframework.beans.factory.DisposableBean
    The Class EmailNorthbounderManager.
    Author:
    Alejandro Galue
    • Constructor Detail

      • EmailNorthbounderManager

        public EmailNorthbounderManager()
    • Method Detail

      • afterPropertiesSet

        public void afterPropertiesSet()
                                throws Exception
        After properties set.
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
        Throws:
        Exception - the exception
      • destroy

        public void destroy()
                     throws Exception
        Destroy.
        Specified by:
        destroy in interface org.springframework.beans.factory.DisposableBean
        Throws:
        Exception - the exception
      • isReady

        public boolean isReady()
        Description copied from interface: Northbounder
        Used to determine if the northbounder is ready to accept alarms. If no northbounders are ready, the caller can save resources by not creating and initializing the NorthboundAlarms. This method is called once after northbounder is registered and started. If the status were to change sometime after, the northbounder must re-register itself.
        Specified by:
        isReady in interface Northbounder
        Returns:
        true if the northbounder is ready to accept alarms, false otherwise.
      • reloadConfig

        public void reloadConfig()
        Reloads the configuration.
        Specified by:
        reloadConfig in interface Northbounder