org.apache.jackrabbit.core.state
Interface ISMLockingFactory

All Known Implementing Classes:
VersioningConfig, WorkspaceConfig

public interface ISMLockingFactory

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


Method Summary
 ISMLocking getISMLocking()
          Creates, initializes, and returns an ISMLocking instance for use by the repository.
 

Method Detail

getISMLocking

ISMLocking getISMLocking()
                         throws RepositoryException
Creates, initializes, and returns an ISMLocking 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:
initialized item state locking strategy
Throws:
RepositoryException - if the locking strategy can not be created


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