Class EclipseStoreClientConfiguration

java.lang.Object
software.xdev.spring.data.eclipse.store.repository.config.EclipseStoreClientConfiguration
All Implemented Interfaces:
EclipseStoreStorageFoundationProvider
Direct Known Subclasses:
DefaultEclipseStoreClientConfiguration

@Configuration(proxyBeanMethods=false) public abstract class EclipseStoreClientConfiguration extends Object implements EclipseStoreStorageFoundationProvider
Defines the configuration of a single EclipseStore-Storage.

Configuration is possible through default EclipseStore-Behavior.
See EclipseStore documentation

It's also possible to inherit this configuration and override createEmbeddedStorageFoundation()

Also creates a singleton reference to a EclipseStoreStorage. This is to only create one EclipseStore-Storage for one configuration.

  • Constructor Details

    • EclipseStoreClientConfiguration

      public EclipseStoreClientConfiguration()
  • Method Details

    • getStoreConfiguration

      public org.eclipse.store.integrations.spring.boot.types.configuration.EclipseStoreProperties getStoreConfiguration()
    • getStoreProvider

      public org.eclipse.store.integrations.spring.boot.types.EclipseStoreProvider getStoreProvider()
    • createEmbeddedStorageFoundation

      public org.eclipse.store.storage.embedded.types.EmbeddedStorageFoundation<?> createEmbeddedStorageFoundation()
      Creates a EmbeddedStorageFoundation out of the two other provided functions getStoreProvider() and getStoreConfiguration().
      Specified by:
      createEmbeddedStorageFoundation in interface EclipseStoreStorageFoundationProvider
    • getStorageInstance

      @Bean public EclipseStoreStorage getStorageInstance()