Class SaveableListenerImpl

    • Constructor Detail

      • SaveableListenerImpl

        public SaveableListenerImpl()
    • Method Detail

      • onChange

        public final void onChange​(Saveable o,
                                   XmlFile file)
        On change restart the AWS Kinesis consumer. This is useful, for example, when adding a new stream to listen from
        Overrides:
        onChange in class SaveableListener
        Parameters:
        o - saved object
        file - XML file containing the new configuration
      • get

        public static SaveableListenerImpl get()
        Gets an instance of this extension
        Returns:
        an instance of this extension