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
ConstructorsModifierConstructorDescriptionprotected
EclipseStoreClientConfiguration
(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 aEmbeddedStorageFoundation
out of the two other provided functionsgetStoreProvider()
andgetEclipseStoreProperties()
.org.eclipse.store.integrations.spring.boot.types.configuration.EclipseStoreProperties
org.eclipse.store.integrations.spring.boot.types.factories.EmbeddedStorageFoundationFactory
org.springframework.transaction.PlatformTransactionManager
transactionManager
(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 aEmbeddedStorageFoundation
out of the two other provided functionsgetStoreProvider()
andgetEclipseStoreProperties()
.- Specified by:
createEmbeddedStorageFoundation
in interfaceEclipseStoreStorageFoundationProvider
-
getStorageInstance
-
transactionManager
public org.springframework.transaction.PlatformTransactionManager transactionManager(org.springframework.beans.factory.ObjectProvider<org.springframework.boot.autoconfigure.transaction.TransactionManagerCustomizers> transactionManagerCustomizers) -
getTransactionManagerInstance
-