@Concerns(value=ConcurrentModificationCheckConcern.class) @Mixins(value=PreferencesEntityStoreMixin.class) public interface PreferencesEntityStoreService extends EntityStore, EntityStateVersions, ServiceActivation
A root node is created in the System preferences, whose name is the same as the Application name (default:"Application").
Each entity is stored under its identity name.
Property types are converted to native Preferences API types as much as possible. All others will be serialized to a string using JSON.
Associations are stored as the identity of the referenced Entity, ManyAssociations are stored as multi-line strings (one reference per line), and NamedAssociations are stored as multi-line strings (one name on a line, reference on the next line).
The main use of the EntityStore is for storage of ConfigurationComposites for ServiceComposites.
ServiceComposite
,
Configuration
EntityStateVersions.EntityStateVersionsMixin
ServiceActivation.ServiceActivator
entityStates, newUnitOfWork
checkForConcurrentModification, forgetVersions, rememberVersion
activateService, passivateService