Interface BackingPropertySetManager
- All Known Subinterfaces:
DbBackedPropertySetManager
- All Known Implementing Classes:
DbBackedCachedPropertySetManager,DbBackedNotCachedPropertySetManager,MemorySwitchToDatabaseBackedPropertiesManager
@PublicApi
public interface BackingPropertySetManager
The PropertySet that backs the PropertiesSet needs to be Switchable - to allow the container to
manage this switching via ComponentAdapters we need an interface
- Since:
- v4.4
-
Method Summary
Modifier and TypeMethodDescriptionSupplier<? extends com.opensymphony.module.propertyset.PropertySet>voidrefresh()refresh the underlying property set - this can also cause properties to be lost if the PropertySet has not been written to a backing storevoidIf the backing property set supports switching to different backing storage, then switch - otherwise noop For now the switch is one way
-
Method Details
-
getManager
- Returns:
- the
Supplierthat references the underlying application properties manager - Since:
- v9.15
-
getPropertySetSupplier
Supplier<? extends com.opensymphony.module.propertyset.PropertySet> getPropertySetSupplier()- Returns:
- the
Supplierthat references the underlying property set
-
refresh
void refresh()refresh the underlying property set - this can also cause properties to be lost if the PropertySet has not been written to a backing store -
switchBackingStore
void switchBackingStore()If the backing property set supports switching to different backing storage, then switch - otherwise noop For now the switch is one way
-