TIBCO Adapter SDK C++ Reference
MPropertiesRegistry Members
MPropertiesRegistry | Legend
Members
Methods
Method Description
commit Commit all information encapsulated by this MPropertiesRegistry instance, that is, all the information currently encapsulated by all MProperties instances that are in this registry is updated.

This method throws an exception if the repository instance associated with this MPropertiesRegistry is not available for some reason.

newProperties Create a new MProperties instance that can then be accessed via this MPropertiesRegistry. If you call newReadableProperties() to create an MProperties instance you cannot make changes to the MProperties instance.

Applications usually change properties using the TIBCO Designer software, not the API. Use this method for all those cases. If you must make changes to TIBCO Repository using the API, use MPropertiesRegistry::newSettableProperties().

newSettableProperties Create a new MProperties instance that can then be accessed via this MPropertiesRegistry.

If you used newSettableProperties to create the MProperties instance, you can then change information in the MProperties instance and commit the change to the repository.

Applications usually change properties using the TIBCO Designer software, not the API. Use this method only if you must make changes to TIBCO Repository using the API. Use MPropertiesRegistry::newProperties() otherwise.

removeProperties Delete the TIBCO Repository subtree that is at the URL passed in as an argument.
rollback Undo the last commit() operation. If you made changes to the adapter instance description objects by changing information in one or more MProperties instances, you can call this method to undo the changes.
Copyright (c) 2010 TIBCO Software Inc. All rights reserved.