org.apache.jackrabbit.core.config
Class VersioningConfig

java.lang.Object
  extended by org.apache.jackrabbit.core.config.VersioningConfig

public class VersioningConfig
extends Object

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.

See Also:
RepositoryConfig.getVersioningConfig()

Constructor Summary
VersioningConfig(String home, FileSystemConfig fsc, PersistenceManagerConfig pmc, ISMLockingConfig ismLockingConfig)
          Creates a versioning configuration object.
 
Method Summary
 FileSystemConfig getFileSystemConfig()
          Returns the configuration for the FileSystem.
 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

VersioningConfig

public VersioningConfig(String home,
                        FileSystemConfig fsc,
                        PersistenceManagerConfig pmc,
                        ISMLockingConfig ismLockingConfig)
Creates a versioning configuration object.

Parameters:
home - home directory
fsc - file system configuration
pmc - persistence manager configuration
ismLockingConfig - the item state manager locking configuration, if null is passed a default configuration is used.
Method Detail

getHomeDir

public File getHomeDir()
Returns the versioning home directory.

Returns:
versioning home directory

getFileSystemConfig

public FileSystemConfig getFileSystemConfig()
Returns the configuration for the FileSystem.

Returns:
the FileSystemConfig for this VersionConfig.

getPersistenceManagerConfig

public PersistenceManagerConfig getPersistenceManagerConfig()
Returns the versioning persistence manager configuration.

Returns:
persistence manager configuration

getISMLockingConfig

public ISMLockingConfig getISMLockingConfig()
Returns:
name of the ISM locking configuration


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