Class ConfigurableVersionStoreFactory


  • @ApplicationScoped
    public class ConfigurableVersionStoreFactory
    extends java.lang.Object
    A version store factory leveraging CDI to delegate to a VersionStoreFactory instance based on the store type.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.projectnessie.versioned.VersionStore<org.projectnessie.model.Content,​org.projectnessie.model.CommitMeta,​org.projectnessie.model.Content.Type> getVersionStore()
      Version store producer.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ConfigurableVersionStoreFactory

        @Inject
        public ConfigurableVersionStoreFactory​(VersionStoreConfig storeConfig,
                                               org.projectnessie.versioned.persist.adapter.DatabaseAdapter databaseAdapter)
        Configurable version store factory.
        Parameters:
        storeConfig - the version store configuration
    • Method Detail

      • getVersionStore

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