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.
Deprecated feature: The low-level
UDDI Utility Tools API classes and methods, such as BusinessStub and
ServiceStub, are deprecated in WebSphere Application
Server Version 6.0. These APIs are replaced with the high-level PromoterAPI
interface in the com.ibm.uddi.promoter package. Refer to the API documentation
for details.
depfeat