|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.importexport.Bootstrapper
public final class Bootstrapper
Bootstrapper: loads content from xml when a magnolia is started with an uninitialized repository.
Nested Class Summary | |
---|---|
static interface |
Bootstrapper.BootstrapFilter
Filter used to provide an additional filtering for the bootstrap files. |
Method Summary | |
---|---|
static void |
bootstrapRepositories(java.lang.String[] bootdirs,
Bootstrapper.BootstrapFilter filter)
Repositories appears to be empty and the "magnolia.bootstrap.dir directory is configured in
web.xml. |
static boolean |
bootstrapRepository(java.lang.String[] bootdirs,
java.lang.String repositoryName,
Bootstrapper.BootstrapFilter filter)
Bootstrap a specific repository. |
static java.lang.String[] |
getBootstrapDirs()
Return the standard bootstrap dirs defined in the magnolia.properties file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void bootstrapRepositories(java.lang.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(java.lang.String[] bootdirs, java.lang.String repositoryName, Bootstrapper.BootstrapFilter filter)
public static java.lang.String[] getBootstrapDirs()
magnolia.properties
file.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |