Interface ServiceConfigurationListener
-
public interface ServiceConfigurationListener
Interface that defines listeners to services getting their distributed configuration.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonMappedConfiguration(ServiceDef serviceDef, java.util.Map configuration)Receives a notification of a mapped configuraton being passed to a service.voidonOrderedConfiguration(ServiceDef serviceDef, java.util.List configuration)Receives a notification of an ordered configuraton being passed to a service.voidonUnorderedConfiguration(ServiceDef serviceDef, java.util.Collection configuration)Receives a notification of an unordered configuraton being passed to a service.
-
-
-
Method Detail
-
onOrderedConfiguration
void onOrderedConfiguration(ServiceDef serviceDef, java.util.List configuration)
Receives a notification of an ordered configuraton being passed to a service.- Parameters:
serviceDef- aServiceDefidentifying the service receiving the configuration.configuration- aListcontaining the configuration itself.
-
onUnorderedConfiguration
void onUnorderedConfiguration(ServiceDef serviceDef, java.util.Collection configuration)
Receives a notification of an unordered configuraton being passed to a service.- Parameters:
serviceDef- aServiceDefidentifying the service receiving the configuration.configuration- aCollectioncontaining the configuration itself.
-
onMappedConfiguration
void onMappedConfiguration(ServiceDef serviceDef, java.util.Map configuration)
Receives a notification of a mapped configuraton being passed to a service.- Parameters:
serviceDef- aServiceDefidentifying the service receiving the configuration.configuration- aMapcontaining the configuration itself.
-
-