Class ApplicationConfigurationHelper


  • public class ApplicationConfigurationHelper
    extends Object
    A helper class for configuring and creating application components.
    Author:
    dbernstein
    • Constructor Detail

    • Method Detail

      • objectSource

        public org.fcrepo.migration.ObjectSource objectSource()
      • ocflRepository

        public edu.wisc.library.ocfl.api.OcflRepository ocflRepository()
        Retrieves the OcflRepository
        Returns:
        the OcflRepository
      • ocflObjectSessionFactory

        public org.fcrepo.storage.ocfl.OcflObjectSessionFactory ocflObjectSessionFactory()
        Creates and return an OcflObjectSessionFactory.
        Returns:
        a session factory
      • readObjectsToValidate

        public Set<String> readObjectsToValidate()
        Read the file containing the object ids if available and return it as a set
        Returns:
        a Set of objectIds
        Throws:
        RuntimeException - if the file cannot be read
      • getThreadCount

        public int getThreadCount()
      • checkNumObjects

        public Boolean checkNumObjects()