|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.core.config.VersioningConfig
public class VersioningConfig
Versioning configuration. This configuration class is used to create configured versioning objects.
The contained configuration information are: the home directory, the file system implementation, and the persistence manager implementation.
RepositoryConfig.getVersioningConfig()| Constructor Summary | |
|---|---|
VersioningConfig(java.lang.String home,
FileSystemFactory fsf,
PersistenceManagerConfig pmc,
ISMLockingConfig ismLockingConfig)
Creates a versioning configuration object. |
|
| Method Summary | |
|---|---|
FileSystem |
getFileSystem()
Creates and returns the configured versioning file system. |
java.io.File |
getHomeDir()
Returns the versioning home directory. |
ISMLockingConfig |
getISMLockingConfig()
|
PersistenceManagerConfig |
getPersistenceManagerConfig()
Returns the versioning persistence manager configuration. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VersioningConfig(java.lang.String home,
FileSystemFactory fsf,
PersistenceManagerConfig pmc,
ISMLockingConfig ismLockingConfig)
home - home directoryfsf - file system factorypmc - persistence manager configurationismLockingConfig - the item state manager locking configuration, if
null is passed a default
configuration is used.| Method Detail |
|---|
public java.io.File getHomeDir()
public FileSystem getFileSystem()
throws javax.jcr.RepositoryException
getFileSystem in interface FileSystemFactoryFileSystem
javax.jcr.RepositoryException - if the file system can not be createdpublic PersistenceManagerConfig getPersistenceManagerConfig()
public ISMLockingConfig getISMLockingConfig()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||