| Modifier and Type | Field and Description |
|---|---|
static String |
JBI_REGISTRY_SCHEMA
registry schema file
|
static String |
JBI_REGISTRY_SCHEMA_DIR
registry schema subdir in JBI_HOME
|
static String |
REGISTRY_BKUP_FILE |
static String |
REGISTRY_ERROR_FOLDER |
static String |
REGISTRY_FILE
The Registry folder and files.
|
static String |
REGISTRY_SYNC_FILE |
static String |
REGISTRY_XML_PACKAGE
The Registry XML Package.
|
static String |
VALIDATE
The Validation Property : value / { true / false }.
|
APP_CONFIG_NAME_KEY, CONFIG_SUFFIX, REGISTRY_FILE_PROPERTY, REGISTRY_FOLDER_PROPERTY, REGISTRY_LOCK_INTERVAL_PROPERTY, REGISTRY_READONLY_PROPERTY, REGISTRY_SYNC_FILE_PROPERTY| Constructor and Description |
|---|
RegistryImpl(RegistrySpec spec)
Creates a new instance of RegistryImpl.
|
| Modifier and Type | Method and Description |
|---|---|
void |
commit()
Commit the changes to the registry.
|
void |
destroy()
Destroy the Registry
|
ComponentQuery |
getComponentQuery()
Get the ComponentQuery specific to the target of the instance.
|
ComponentQuery |
getComponentQuery(String targetName)
Get a ComponentQuery instance for a given target
|
GenericQuery |
getGenericQuery()
Get a Generic Query Instance
|
ManagementContext |
getManagementContext() |
String |
getProperty(String propName)
Get a Registry Property.
|
String |
getRegistryBkupFilePath() |
File |
getRegistryFile() |
String |
getRegistryFilePath() |
String |
getRegistryFolderPath() |
RegistrySpec |
getRegistrySpec()
Get the Registry Specification.
|
Repository |
getRepository()
Get the Repository the registry instance uses.
|
ServiceAssemblyQuery |
getServiceAssemblyQuery()
Get the ServiceAssemblyQuery specific to the target of the instance.
|
ServiceAssemblyQuery |
getServiceAssemblyQuery(String targetName)
Get a ServiceAssemblyQuery instance for a given target
|
Updater |
getUpdater()
Get the Updater instance to be used for updating the Registry.
|
void |
reinitialize()
Initialize the registry
|
ByteArrayInputStream |
snapshot()
Take a consistent snapshot of the registry.
|
public static final String REGISTRY_FILE
public static final String REGISTRY_SYNC_FILE
public static final String REGISTRY_BKUP_FILE
public static final String REGISTRY_ERROR_FOLDER
public static final String JBI_REGISTRY_SCHEMA
public static final String JBI_REGISTRY_SCHEMA_DIR
public static final String VALIDATE
public static final String REGISTRY_XML_PACKAGE
public RegistryImpl(RegistrySpec spec) throws RegistryException
spec - - XML Registry specification.RegistryException - if the JAXBContext cannot be initialized.public void destroy()
public void reinitialize()
throws RegistryException
RegistryExceptionpublic Updater getUpdater() throws RegistryException
RegistryException - if problems are encountered in creating
a Updater.public GenericQuery getGenericQuery() throws RegistryException
RegistryException - on errors.public ComponentQuery getComponentQuery(String targetName) throws RegistryException
targetName - - name identifying the target.RegistryException - on errors.public ComponentQuery getComponentQuery() throws RegistryException
RegistryException - on errors.public ServiceAssemblyQuery getServiceAssemblyQuery(String targetName) throws RegistryException
targetName - - name identifying the target.RegistryException - on errors.public ServiceAssemblyQuery getServiceAssemblyQuery() throws RegistryException
RegistryException - on errors.public File getRegistryFile()
public String getRegistryFolderPath()
public String getRegistryFilePath()
public String getRegistryBkupFilePath()
public ManagementContext getManagementContext()
public Repository getRepository()
Registrypublic RegistrySpec getRegistrySpec()
public void commit()
throws RegistryException
validate - - if true indicates that the Registry Content is
to be validated.RegistryExceptionpublic ByteArrayInputStream snapshot() throws RegistryException
RegistryExceptionCopyright © 2011-2016 OpenESB Community. All Rights Reserved.