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 Summary
ConstructorsModifierConstructorDescriptionprotectedEclipseStoreClientConfiguration(org.eclipse.store.integrations.spring.boot.types.configuration.EclipseStoreProperties defaultEclipseStoreProperties, org.eclipse.store.integrations.spring.boot.types.factories.EmbeddedStorageFoundationFactory defaultEclipseStoreProvider) -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.store.storage.embedded.types.EmbeddedStorageFoundation<?>Creates aEmbeddedStorageFoundationout of the two other provided functionsgetStoreProvider()andgetEclipseStoreProperties().org.eclipse.store.integrations.spring.boot.types.configuration.EclipseStorePropertiesorg.eclipse.store.integrations.spring.boot.types.factories.EmbeddedStorageFoundationFactoryorg.springframework.transaction.PlatformTransactionManagertransactionManager(org.springframework.beans.factory.ObjectProvider<org.springframework.boot.autoconfigure.transaction.TransactionManagerCustomizers> transactionManagerCustomizers)
-
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 aEmbeddedStorageFoundationout of the two other provided functionsgetStoreProvider()andgetEclipseStoreProperties().- Specified by:
createEmbeddedStorageFoundationin interfaceEclipseStoreStorageFoundationProvider
-
getStorageInstance
-
transactionManager
public org.springframework.transaction.PlatformTransactionManager transactionManager(org.springframework.beans.factory.ObjectProvider<org.springframework.boot.autoconfigure.transaction.TransactionManagerCustomizers> transactionManagerCustomizers) -
getTransactionManagerInstance
-