Interface OcflObjectSessionFactory

  • All Known Implementing Classes:
    DefaultOcflObjectSessionFactory

    public interface OcflObjectSessionFactory
    Factory for creating OcflObjectSessions.
    Author:
    pwinckles
    • Method Detail

      • newSession

        OcflObjectSession newSession​(String ocflObjectId)
        Creates a new OCFL object session for the specified OCFL object.
        Parameters:
        ocflObjectId - the OCFL object id to open a session for
        Returns:
        new session
      • close

        void close()
        Closes the underlying OCFL repository.