Package org.fcrepo.storage.ocfl
Interface OcflObjectSessionFactory
-
- All Known Implementing Classes:
DefaultOcflObjectSessionFactory
public interface OcflObjectSessionFactoryFactory for creating OcflObjectSessions.- Author:
- pwinckles
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()Closes the underlying OCFL repository.OcflObjectSessionnewSession(String ocflObjectId)Creates a new OCFL object session for the specified OCFL object.
-
-
-
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.
-
-