This documentation is for WSO2 Application Server 5.2.0. View documentation for the latest release.
Page Comparison - Renaming a Resource (v.3 vs v.4) - Application Server 5.2.0 - WSO2 Documentation

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

You can rename individual resources or collections. To rename a resource, use the following lines of code. The same code can be used to rename a collection as well.

Code Block
registry.rename("/c1/c2/r1", "/c1/c2/r2");

The above line of code renames the resource /c1/c2/r1 to /c1/c2/r2.