Package org.apache.jackrabbit.core.state
Interface ISMLockingFactory
-
- All Known Implementing Classes:
VersioningConfig
,WorkspaceConfig
public interface ISMLockingFactory
Factory interface for creatingISMLocking
instances. Used to decouple the repository internals from the repository configuration mechanism.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ISMLocking
getISMLocking()
Creates, initializes, and returns anISMLocking
instance for use by the repository.
-
-
-
Method Detail
-
getISMLocking
ISMLocking getISMLocking() throws RepositoryException
Creates, initializes, and returns anISMLocking
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
-
-