org.apache.jackrabbit.core.util
Interface RepositoryLockMechanismFactory


public interface RepositoryLockMechanismFactory

Factory interface for creating RepositoryLockMechanism instances. Used to decouple the repository internals from the repository configuration mechanism.

Since:
Jackrabbit 1.5
See Also:
JCR-1438

Method Summary
 RepositoryLockMechanism getRepositoryLockMechanism()
          Creates, configures, and returns a RepositoryLockMechanism instance for use by the repository.
 

Method Detail

getRepositoryLockMechanism

RepositoryLockMechanism getRepositoryLockMechanism()
                                                   throws RepositoryException
Creates, configures, and returns a RepositoryLockMechanism 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


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.