This documentation is for WSO2 Application Server 5.2.0. View documentation for the latest release.
Checking for the Existence of a Resource - Application Server 5.2.0 - WSO2 Documentation
Skip to end of metadata
Go to start of metadata

We can use the following code to confirm whether the resource exists:

boolean value = registry.resourceExists("/c1/c2/r1");

If the resource does exist, a boolean value of true will be returned and if it does not exist, the false value is returned.

  • No labels