Resources and proxies

The Rational® CM API consists of objects that are proxies for the persistent resources stored in the different repositories Rational products maintain. A proxy is an object on the client that represents a resource in a product-specific repository (on a server or on the client system). A proxy object represents a resource during a CM API Provider session. Each type of resource is represented by an interface that is an extension of the WVCM Resource interface.

To access a resource, a client must first create a proxy object that implements the CM API interface for that type of resource. All proxy objects are obtained either by invoking a method from the Provider object or invoking a method on another proxy object. The client can then use the methods available on the proxy object to access specific properties of the resource or modify its content or state. Proxy objects are client-side objects returned by the Provider; they are not the actual server resources.


Feedback