Package | Description |
---|---|
org.apache.jackrabbit.core |
Contains the core classes that provide the implementation of the JCR API.
|
org.apache.jackrabbit.core.config |
Jackrabbit configuration handling.
|
Modifier and Type | Field and Description |
---|---|
protected RepositoryConfig |
RepositoryImpl.repConfig |
Modifier and Type | Method and Description |
---|---|
RepositoryConfig |
RepositoryImpl.getConfig()
Returns the configuration of this repository.
|
RepositoryConfig |
RepositoryContext.getRepositoryConfig() |
Modifier and Type | Method and Description |
---|---|
static void |
RepositoryCopier.copy(RepositoryConfig source,
File target)
Copies the contents of the repository with the given configuration
to a repository in the given target directory.
|
static void |
RepositoryCopier.copy(RepositoryConfig source,
RepositoryConfig target)
Copies the contents of the source repository with the given
configuration to a target repository with the given configuration.
|
static void |
RepositoryCopier.copy(RepositoryImpl source,
RepositoryConfig target)
Copies the contents of the given source repository to a target
repository with the given configuration.
|
static RepositoryContext |
RepositoryContext.create(RepositoryConfig config)
Starts a repository with the given configuration and returns
the internal component context of the started repository.
|
static RepositoryImpl |
RepositoryImpl.create(RepositoryConfig config)
Creates a new
RepositoryImpl instance. |
Constructor and Description |
---|
RepositoryImpl(RepositoryConfig repConfig)
Protected constructor.
|
TransientRepository(RepositoryConfig config)
Creates a transient repository proxy that will use a copy of the given
repository configuration to initialize the underlying repository
instance.
|
Modifier and Type | Method and Description |
---|---|
static RepositoryConfig |
RepositoryConfig.create(File dir)
Returns the configuration of a repository in a given repository
directory.
|
static RepositoryConfig |
RepositoryConfig.create(File xml,
File dir)
Returns the configuration of a repository with the given configuration
file and repository home directory.
|
static RepositoryConfig |
RepositoryConfig.create(InputSource xml,
Properties variables)
Parses the given repository configuration document using the given
parser variables.
|
static RepositoryConfig |
RepositoryConfig.create(InputSource xml,
String home)
Convenience method that invokes the
create(InputSource, Properties) method with the given
repository home home directory path set as the ${rep.home} parser
variable. |
static RepositoryConfig |
RepositoryConfig.create(InputStream input,
String home)
Convenience method that wraps the configuration input stream into an
InputSource and invokes the
create(InputSource, String) method. |
static RepositoryConfig |
RepositoryConfig.create(RepositoryConfig config)
Creates a repository configuration object based on an existing configuration.
|
static RepositoryConfig |
RepositoryConfig.create(String file,
String home)
Convenience method that wraps the configuration file name into an
InputSource and invokes the
create(InputSource, String) method. |
static RepositoryConfig |
RepositoryConfig.create(URI uri,
String home)
Convenience method that wraps the configuration URI into an
InputSource and invokes the
create(InputSource, String) method. |
static RepositoryConfig |
RepositoryConfig.install(File dir)
Returns the configuration of a repository in a given repository
directory.
|
static RepositoryConfig |
RepositoryConfig.install(File xml,
File dir)
Returns the configuration of a repository with the given configuration
file and repository home directory.
|
static RepositoryConfig |
RepositoryConfig.install(Properties variables)
Returns the configuration of a repository with the home directory,
configuration file, and other options as specified in the given
configuration parser variables.
|
RepositoryConfig |
RepositoryConfigurationParser.parseRepositoryConfig(InputSource xml)
Parses repository configuration.
|
Modifier and Type | Method and Description |
---|---|
static RepositoryConfig |
RepositoryConfig.create(RepositoryConfig config)
Creates a repository configuration object based on an existing configuration.
|
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.