Package io.axway.iron.core.internal
Class StoreManagerBuilderImpl
- java.lang.Object
-
- io.axway.iron.core.internal.StoreManagerBuilderImpl
-
- All Implemented Interfaces:
StoreManagerBuilder
public class StoreManagerBuilderImpl extends java.lang.Object implements StoreManagerBuilder
-
-
Constructor Summary
Constructors Constructor Description StoreManagerBuilderImpl()
StoreManagerBuilderImpl(java.lang.String name, java.util.Properties properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.axway.iron.StoreManager
build()
StoreManagerBuilder
withCommandClass(java.lang.Class<? extends io.axway.iron.Command<?>> commandClass)
StoreManagerBuilder
withEntityClass(java.lang.Class<?> entityClass)
StoreManagerBuilder
withSnapshotLoadingPostProcessor(java.util.function.BiFunction<io.axway.iron.spi.model.snapshot.SerializableSnapshot,java.lang.String,io.axway.iron.spi.model.snapshot.SerializableSnapshot> snapshotPostProcessor)
StoreManagerBuilder
withSnapshotSerializer(io.axway.iron.spi.serializer.SnapshotSerializer snapshotSerializer)
StoreManagerBuilder
withSnapshotStore(io.axway.iron.spi.storage.SnapshotStore snapshotStore)
StoreManagerBuilder
withTransactionSerializer(io.axway.iron.spi.serializer.TransactionSerializer transactionSerializer)
StoreManagerBuilder
withTransactionStore(io.axway.iron.spi.storage.TransactionStore transactionStore)
-
-
-
Method Detail
-
withEntityClass
public StoreManagerBuilder withEntityClass(java.lang.Class<?> entityClass)
- Specified by:
withEntityClass
in interfaceStoreManagerBuilder
-
withCommandClass
public StoreManagerBuilder withCommandClass(java.lang.Class<? extends io.axway.iron.Command<?>> commandClass)
- Specified by:
withCommandClass
in interfaceStoreManagerBuilder
-
withTransactionSerializer
public StoreManagerBuilder withTransactionSerializer(io.axway.iron.spi.serializer.TransactionSerializer transactionSerializer)
- Specified by:
withTransactionSerializer
in interfaceStoreManagerBuilder
-
withTransactionStore
public StoreManagerBuilder withTransactionStore(io.axway.iron.spi.storage.TransactionStore transactionStore)
- Specified by:
withTransactionStore
in interfaceStoreManagerBuilder
-
withSnapshotSerializer
public StoreManagerBuilder withSnapshotSerializer(io.axway.iron.spi.serializer.SnapshotSerializer snapshotSerializer)
- Specified by:
withSnapshotSerializer
in interfaceStoreManagerBuilder
-
withSnapshotLoadingPostProcessor
public StoreManagerBuilder withSnapshotLoadingPostProcessor(java.util.function.BiFunction<io.axway.iron.spi.model.snapshot.SerializableSnapshot,java.lang.String,io.axway.iron.spi.model.snapshot.SerializableSnapshot> snapshotPostProcessor)
- Specified by:
withSnapshotLoadingPostProcessor
in interfaceStoreManagerBuilder
-
withSnapshotStore
public StoreManagerBuilder withSnapshotStore(io.axway.iron.spi.storage.SnapshotStore snapshotStore)
- Specified by:
withSnapshotStore
in interfaceStoreManagerBuilder
-
build
public io.axway.iron.StoreManager build()
- Specified by:
build
in interfaceStoreManagerBuilder
-
-