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 TypeMethodDescriptionvoid
added
(PersistenceServiceConfiguration element) Notifies the listener that a single element has been added.void
removed
(PersistenceServiceConfiguration element) Notifies the listener that a single element has been removed.void
updated
(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:
element
- the new elementoldElement
- the element that has been updated
-