public final class Bootstrapper extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
Bootstrapper.BootstrapFilter
Filter used to provide an additional filtering for the bootstrap files.
|
Modifier and Type | Method and Description |
---|---|
static void |
bootstrapRepositories(String[] bootdirs,
Bootstrapper.BootstrapFilter filter)
Repositories appears to be empty and the
"magnolia.bootstrap.dir directory is configured in
web.xml. |
static boolean |
bootstrapRepository(String[] bootdirs,
String repositoryName,
Bootstrapper.BootstrapFilter filter)
Bootstrap a specific repository.
|
static String[] |
getBootstrapDirs()
Return the standard bootstrap dirs defined in the
magnolia.properties file. |
public static void bootstrapRepositories(String[] bootdirs, Bootstrapper.BootstrapFilter filter)
"magnolia.bootstrap.dir
directory is configured in
web.xml. Loops over all the repositories and try to load any xml file found in a subdirectory with the same name
of the repository. For example the config
repository will be initialized using all the
*.xml
files found in "magnolia.bootstrap.dir
/config directory.bootdirs
- bootstrap dirpublic static boolean bootstrapRepository(String[] bootdirs, String repositoryName, Bootstrapper.BootstrapFilter filter)
public static String[] getBootstrapDirs()
magnolia.properties
file.Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.