|
|||||||||
| 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(Map<String,String> parameters)
Try to shutdown the repository only if autoShutdown is true. |
Repository |
createRepository(Map<String,String> parameters)
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 Repository createRepository(Map<String,String> parameters)
throws RepositoryException
parameters - repository parameters
RepositoryExceptionpublic void shutdown()
public static JCARepositoryManager getInstance()
public boolean isAutoShutdown()
public void setAutoShutdown(boolean autoShutdown)
public void autoShutdownRepository(Map<String,String> parameters)
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 | ||||||||