Class SnmpTrapNorthbounderManager

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

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

      • SnmpTrapNorthbounderManager

        public SnmpTrapNorthbounderManager()
    • Method Detail

      • afterPropertiesSet

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

        public void destroy()
                     throws java.lang.Exception
        Destroy.
        Specified by:
        destroy in interface org.springframework.beans.factory.DisposableBean
        Throws:
        java.lang.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.
      • getName

        public java.lang.String getName()
        Gets the name.
        Specified by:
        getName in interface Northbounder
        Returns:
        the name