Class ConfigurableVersionStoreFactory


  • @ApplicationScoped
    public class ConfigurableVersionStoreFactory
    extends Object
    A version store factory leveraging CDI to delegate to a VersionStoreFactory instance based on the store type.
    • 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 for VersionStoreFactory
        storeConfig - the version store configuration
        serverConfig - the server configuration
    • Method Detail

      • getVersionStore

        @Produces
        @Singleton
        public org.projectnessie.versioned.VersionStore<org.projectnessie.model.Contents,​org.projectnessie.model.CommitMeta> getVersionStore()
        Version store producer.