Package org.apache.jackrabbit.core.util
Interface RepositoryLockMechanismFactory
-
public interface RepositoryLockMechanismFactoryFactory interface for creatingRepositoryLockMechanisminstances. Used to decouple the repository internals from the repository configuration mechanism.- Since:
- Jackrabbit 1.5
- See Also:
- JCR-1438
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RepositoryLockMechanismgetRepositoryLockMechanism()Creates, configures, and returns aRepositoryLockMechanisminstance for use by the repository.
-
-
-
Method Detail
-
getRepositoryLockMechanism
RepositoryLockMechanism getRepositoryLockMechanism() throws RepositoryException
Creates, configures, and returns aRepositoryLockMechanisminstance for use by the repository. Note that no information is passed from the client, so all required configuration information must be encapsulated in the factory.- Returns:
- the configures repository lock mechanism
- Throws:
RepositoryException- if the repository lock mechanism can not be created
-
-