Interface PersistenceServiceConfigurationRegistryChangeListener
@NonNullByDefault
public interface PersistenceServiceConfigurationRegistryChangeListener
The
PersistenceServiceConfigurationRegistryChangeListener is an interface that can be implemented by services
that need to listen to the PersistenceServiceConfigurationRegistry when more than one registry with different
types is used.- Author:
- Jan N. Klug - Initial contribution
-
Method Summary
Modifier and TypeMethodDescriptionvoidadded(PersistenceServiceConfiguration element) Notifies the listener that a single element has been added.voidremoved(PersistenceServiceConfiguration element) Notifies the listener that a single element has been removed.voidupdated(PersistenceServiceConfiguration oldElement, PersistenceServiceConfiguration element) Notifies the listener that a single element has been updated.
-
Method Details
-
added
Notifies the listener that a single element has been added.- Parameters:
element- the element that has been added
-
removed
Notifies the listener that a single element has been removed.- Parameters:
element- the element that has been removed
-
updated
Notifies the listener that a single element has been updated.- Parameters:
oldElement- the element that has been updatedelement- the new element
-