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. However, if the resource is a collection, then the object will represent the collection.

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.

Managing Entries or Content - for information on how to read resources via the Management Console.

  • No labels