Class MetadataStoreListenerAdapter

java.lang.Object
org.springframework.integration.metadata.MetadataStoreListenerAdapter
All Implemented Interfaces:
MetadataStoreListener

public abstract class MetadataStoreListenerAdapter
extends java.lang.Object
implements MetadataStoreListener
Base implementation for a MetadataStoreListener. Subclasses may override any of the methods.
  • Constructor Summary

    Constructors 
    Constructor Description
    MetadataStoreListenerAdapter()  
  • Method Summary

    Modifier and Type Method Description
    void onAdd​(java.lang.String key, java.lang.String value)
    Invoked when a key is added to the store.
    void onRemove​(java.lang.String key, java.lang.String oldValue)
    Invoked when a key is removed from the store.
    void onUpdate​(java.lang.String key, java.lang.String newValue)
    Invoked when a key is updated into the store.

    Methods inherited from class java.lang.Object

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

  • Method Details

    • onAdd

      public void onAdd​(java.lang.String key, java.lang.String value)
      Description copied from interface: MetadataStoreListener
      Invoked when a key is added to the store.
      Specified by:
      onAdd in interface MetadataStoreListener
      Parameters:
      key - the key being added
      value - the value being added
    • onRemove

      public void onRemove​(java.lang.String key, java.lang.String oldValue)
      Description copied from interface: MetadataStoreListener
      Invoked when a key is removed from the store.
      Specified by:
      onRemove in interface MetadataStoreListener
      Parameters:
      key - the key being removed
      oldValue - the value being removed
    • onUpdate

      public void onUpdate​(java.lang.String key, java.lang.String newValue)
      Description copied from interface: MetadataStoreListener
      Invoked when a key is updated into the store.
      Specified by:
      onUpdate in interface MetadataStoreListener
      Parameters:
      key - the key being updated
      newValue - the new value