UDDI Utility Tools through the API
UDDI Utility Tools provides a public API to functions to export, import, promote, find, and delete UDDI entities. To invoke these functions, use the PromoterAPI class.
Typically, you use these functions through the
PromoterAPI
class for the following uses:
- Create a Configuration object and populate it from a Properties object or from a configuration properties file.
- Create a PromoterAPI object, passing the Configuration object in the constructor.
- For keys based functions (export, delete, and promote), set the keys by supplying a UDDIEntityKeys object, the location of the keys file, or, for one entity, by specifying an entity type and a key value.
- Invoke the corresponding method for the function required: exportEntities, promoteEntities(boolean), importEntities, deleteEntities, or extractKeysFromInquiry(FindTModel, FindBusiness, FindService, FindBinding, FindRelatedBusinesses).
The samples for WebSphere® Application Server include sample code for UDDI Utility Tools that demonstrates use of the API classes.
