Package org.apache.jackrabbit.core.util
Interface RepositoryLockMechanismFactory
-
public interface RepositoryLockMechanismFactory
Factory interface for creatingRepositoryLockMechanism
instances. 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 RepositoryLockMechanism
getRepositoryLockMechanism()
Creates, configures, and returns aRepositoryLockMechanism
instance for use by the repository.
-
-
-
Method Detail
-
getRepositoryLockMechanism
RepositoryLockMechanism getRepositoryLockMechanism() throws RepositoryException
Creates, configures, and returns aRepositoryLockMechanism
instance 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
-
-