|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.jca.JCARepositoryManager
public final class JCARepositoryManager
This class implements the repository manager.
| Field Summary | |
|---|---|
static java.lang.String |
CLASSPATH_CONFIG_PREFIX
The config file prefix that signifies the file is to be loaded from the classpath. |
| Method Summary | |
|---|---|
void |
autoShutdownRepository(java.lang.String homeDir,
java.lang.String configFile)
Try to shutdown the repository only if autoShutdown is true. |
RepositoryImpl |
createRepository(java.lang.String homeDir,
java.lang.String configFile)
Create repository. |
static JCARepositoryManager |
getInstance()
Return the instance. |
boolean |
isAutoShutdown()
|
void |
setAutoShutdown(boolean autoShutdown)
|
void |
shutdown()
Shutdown all the repositories. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CLASSPATH_CONFIG_PREFIX
| Method Detail |
|---|
public RepositoryImpl createRepository(java.lang.String homeDir,
java.lang.String configFile)
throws javax.jcr.RepositoryException
homeDir - The location of the repository.configFile - The path to the repository configuration file. If the file is located on
the classpath, the path should be prepended with
JCARepositoryManager.CLASSPATH_CONFIG_PREFIX.
javax.jcr.RepositoryExceptionpublic void shutdown()
public static JCARepositoryManager getInstance()
public boolean isAutoShutdown()
public void setAutoShutdown(boolean autoShutdown)
public void autoShutdownRepository(java.lang.String homeDir,
java.lang.String configFile)
autoShutdown is true.
homeDir - The location of the repository.configFile - The path to the repository configuration file.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||