Interface ServiceConfigurationListener
public interface ServiceConfigurationListener
Interface that defines listeners to services getting their distributed configuration.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onMappedConfiguration
(ServiceDef serviceDef, Map configuration) Receives a notification of a mapped configuraton being passed to a service.void
onOrderedConfiguration
(ServiceDef serviceDef, List configuration) Receives a notification of an ordered configuraton being passed to a service.void
onUnorderedConfiguration
(ServiceDef serviceDef, Collection configuration) Receives a notification of an unordered configuraton being passed to a service.
-
Method Details
-
onOrderedConfiguration
Receives a notification of an ordered configuraton being passed to a service.- Parameters:
serviceDef
- aServiceDef
identifying the service receiving the configuration.configuration
- aList
containing the configuration itself.
-
onUnorderedConfiguration
Receives a notification of an unordered configuraton being passed to a service.- Parameters:
serviceDef
- aServiceDef
identifying the service receiving the configuration.configuration
- aCollection
containing the configuration itself.
-
onMappedConfiguration
Receives a notification of a mapped configuraton being passed to a service.- Parameters:
serviceDef
- aServiceDef
identifying the service receiving the configuration.configuration
- aMap
containing the configuration itself.
-