public class RegistryBuilder extends Object
| Constructor and Description |
|---|
RegistryBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static Registry |
buildRegistry(RegistrySpec spec)
Creates a new instance of Registry based on the Registry Specification.
|
static void |
destroyRegistry()
Destroy all the Registry Instances
|
static void |
destroyRegistry(String folder)
Destroy a particular Registry Instance.
|
static Registry |
getRegistryInstance(String folder)
Return the instance of the registry in the specified folder if one has been
initialized, return null otherwise.
|
public static Registry buildRegistry(RegistrySpec spec) throws UnsupportedRegistryTypeException, RegistryException
spec - a Registry specification.UnsupportedRegistryTypeException - when asked to create a Registry
of an unknown type.RegistryException - if problems are encountered in building registry.public static void destroyRegistry()
public static void destroyRegistry(String folder)
Copyright © 2011-2016 OpenESB Community. All Rights Reserved.