public final class JCARepositoryManager extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CLASSPATH_CONFIG_PREFIX
The config file prefix that signifies the file is to be loaded from the classpath.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final String CLASSPATH_CONFIG_PREFIX
public Repository createRepository(Map<String,String> parameters) throws RepositoryException
parameters
- repository parametersRepositoryException
public void shutdown()
public static JCARepositoryManager getInstance()
public boolean isAutoShutdown()
public void setAutoShutdown(boolean autoShutdown)
public void autoShutdownRepository(Map<String,String> parameters)
autoShutdown
is true.Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.