public final class RepositoryManager
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static RuleRepository |
createRuleRepositoryInstance(RepositoryType repoType)
Create an un-initialized repository instance of the given type
|
static RuleRepository |
getMDSRuleRepository(RepositoryContext context)
A convenience method to get a RuleRepository instance for an MDS
based repository.
|
static RepositoryType |
getRegisteredRepositoryType(java.lang.String repoTypeKey)
Get a RepositoryType by its key name
|
static java.util.List<RepositoryType> |
getRegisteredRepositoryTypes()
Returns a List of known repository types.
|
public static RuleRepository getMDSRuleRepository(RepositoryContext context) throws RepositoryException
context
- Contextual information for creating the RuleRepository
instance. If may be null if no additional context is required.RepositoryException
- if error creating the repository instancepublic static java.util.List<RepositoryType> getRegisteredRepositoryTypes()
RepositoryType
public static RepositoryType getRegisteredRepositoryType(java.lang.String repoTypeKey)
repoTypeKey
- key of the repository typepublic static RuleRepository createRuleRepositoryInstance(RepositoryType repoType) throws RepositoryException
repoType
- the type of the repository instanceRepositoryException
- if error when creating the repository instance