This documentation is for WSO2 Governance Registry 5.3.0. View documentation for the latest release.
||
Skip to end of metadata
Go to start of metadata

Once the Registry instance is in place (embedded registry or remote registry), navigation is straightforward. It is the same as working with the Registry API. If we have a resource called "/foo/c1" in the Registry, you can access it using the Registry instance as given below:

Resource resource = registry.get("/foo/c1");

The resource object will represent the actual resource object in the Registry. But if the resource is a collection, then the object will represent the collection.

Tip

Once we have a registry instance, we do not need to pass a complete URL for all invocations. It is adequate to pass only a relative path to a resource.

  • No labels