Creating a Symbolic Link/ Mounting a registry
A symbolic link to a registry can be created in the following manner. The same code can be used to mount a registry to a specific location. If a remote registry needs to be mounted, the same method can be used with an extra parameter.
registry.createLink("/config", "/_system/config"); registry.createLink("/config", "/_system/config", "http://remote.registry.url/);
Removing a Smbolic Link / Mount Point of a Registry
A symbolic link or a mount point of a registry created above can be removed using the following line of code:
registry.removeLink("/config");
See also Link Creation to learn more information about symbolic links.