Class LockssRepositoryConfig

java.lang.Object
org.lockss.laaws.rs.configuration.LockssRepositoryConfig

@Configuration public class LockssRepositoryConfig extends Object
Spring configuration beans for the configuration of the Repository Service's internal repository.
  • Constructor Details

    • LockssRepositoryConfig

      @Autowired public LockssRepositoryConfig(RepositoryServiceProperties repoProps, org.lockss.rs.io.index.ArtifactIndex index, org.lockss.rs.io.storage.ArtifactDataStore store)
  • Method Details

    • createInitializedRepository

      @Bean public org.lockss.rs.BaseLockssRepository createInitializedRepository() throws IOException
      Creates and initializes the LockssRepository that will be made available via the LOCKSS Repository Service's REST API.
      Returns:
      An initialized LockssRepository.
      Throws:
      IOException
    • createLockssRepository

      public org.lockss.rs.BaseLockssRepository createLockssRepository() throws IOException
      Returns:
      Throws:
      IOException