Interface ServiceConfigurationListener


Interface that defines listeners to services getting their distributed configuration.
  • Method Details

    • onOrderedConfiguration

      void onOrderedConfiguration(ServiceDef serviceDef, List configuration)
      Receives a notification of an ordered configuraton being passed to a service.
      Parameters:
      serviceDef - a ServiceDef identifying the service receiving the configuration.
      configuration - a List containing the configuration itself.
    • onUnorderedConfiguration

      void onUnorderedConfiguration(ServiceDef serviceDef, Collection configuration)
      Receives a notification of an unordered configuraton being passed to a service.
      Parameters:
      serviceDef - a ServiceDef identifying the service receiving the configuration.
      configuration - a Collection containing the configuration itself.
    • onMappedConfiguration

      void onMappedConfiguration(ServiceDef serviceDef, Map configuration)
      Receives a notification of a mapped configuraton being passed to a service.
      Parameters:
      serviceDef - a ServiceDef identifying the service receiving the configuration.
      configuration - a Map containing the configuration itself.