|
||||||||||
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 String |
CLASSPATH_CONFIG_PREFIX
The config file prefix that signifies the file is to be loaded from the classpath. |
Method Summary | |
---|---|
void |
autoShutdownRepository(String homeDir,
String configFile)
Try to shutdown the repository only if autoShutdown is true. |
RepositoryImpl |
createRepository(String homeDir,
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 String CLASSPATH_CONFIG_PREFIX
Method Detail |
---|
public RepositoryImpl createRepository(String homeDir, String configFile) throws 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.
RepositoryException
public void shutdown()
public static JCARepositoryManager getInstance()
public boolean isAutoShutdown()
public void setAutoShutdown(boolean autoShutdown)
public void autoShutdownRepository(String homeDir, 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 |