Package org.fcrepo.persistence.ocfl.impl
Class OcflPersistenceConfig
java.lang.Object
org.fcrepo.persistence.ocfl.impl.OcflPersistenceConfig
A Configuration for OCFL dependencies
- Since:
- 6.0.0
- Author:
- dbernstein
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.fcrepo.storage.ocfl.validation.ObjectValidatororg.fcrepo.storage.ocfl.OcflObjectSessionFactoryio.ocfl.api.MutableOcflRepositoryCreate an OCFL Repository
-
Constructor Details
-
OcflPersistenceConfig
public OcflPersistenceConfig()
-
-
Method Details
-
repository
Create an OCFL Repository- Returns:
- the repository
- Throws:
IOException
-
ocflObjectSessionFactory
@Bean public org.fcrepo.storage.ocfl.OcflObjectSessionFactory ocflObjectSessionFactory() throws IOException- Throws:
IOException
-
objectValidator
@Bean public org.fcrepo.storage.ocfl.validation.ObjectValidator objectValidator() throws IOException- Throws:
IOException
-