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) @ComponentScan({"org.eclipse.store.integrations.spring.boot.types","software.xdev.spring.data.eclipse.store.importer"}) 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

      @Autowired protected EclipseStoreClientConfiguration(org.eclipse.store.integrations.spring.boot.types.configuration.EclipseStoreProperties defaultEclipseStoreProperties, org.eclipse.store.integrations.spring.boot.types.factories.EmbeddedStorageFoundationFactory defaultEclipseStoreProvider)
  • Method Details

    • getEclipseStoreProperties

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

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

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

      public EclipseStoreStorage getStorageInstance()
    • transactionManager

      public org.springframework.transaction.PlatformTransactionManager transactionManager(org.springframework.beans.factory.ObjectProvider<org.springframework.boot.autoconfigure.transaction.TransactionManagerCustomizers> transactionManagerCustomizers)
    • getTransactionManagerInstance

      public EclipseStoreTransactionManager getTransactionManagerInstance()