@Concerns(value=org.qi4j.spi.entitystore.ConcurrentModificationCheckConcern.class) @Mixins(value=PreferencesEntityStoreMixin.class) public interface PreferencesEntityStoreService extends org.qi4j.spi.entitystore.EntityStore, org.qi4j.api.service.ServiceComposite, org.qi4j.spi.entitystore.EntityStateVersions, org.qi4j.api.service.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 identity per line), and NamedAssociations are stored as multi-line strings (one name on a line, identity on the next line).
The main use of the EntityStore is for storage of ConfigurationComposites for ServiceComposites.
ServiceComposite
,
org.qi4j.api.configuration.Configuration
org.qi4j.api.entity.Identity.IdentityMixin