Class ConfigurableVersionStoreFactory
- java.lang.Object
-
- org.projectnessie.server.providers.ConfigurableVersionStoreFactory
-
@ApplicationScoped public class ConfigurableVersionStoreFactory extends Object
A version store factory leveraging CDI to delegate to aVersionStoreFactoryinstance based on the store type.
-
-
Constructor Summary
Constructors Constructor Description ConfigurableVersionStoreFactory(javax.enterprise.inject.Instance<VersionStoreFactory> versionStoreFactory, VersionStoreConfig storeConfig, ServerConfig serverConfig)Configurable version store factory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.projectnessie.versioned.VersionStore<org.projectnessie.model.Contents,org.projectnessie.model.CommitMeta,org.projectnessie.model.Contents.Type>getVersionStore()Version store producer.
-
-
-
Constructor Detail
-
ConfigurableVersionStoreFactory
@Inject public ConfigurableVersionStoreFactory(@Any javax.enterprise.inject.Instance<VersionStoreFactory> versionStoreFactory, VersionStoreConfig storeConfig, ServerConfig serverConfig)Configurable version store factory.- Parameters:
versionStoreFactory- a CDI injector forVersionStoreFactorystoreConfig- the version store configurationserverConfig- the server configuration
-
-