code: public boolean clearSharedObjects(IScope scope, String name) {
          boolean result = false;
          if (hasSharedObject(scope, name)) {
              // '/' clears all local and persistent shared objects associated with the instance
              // /foo/bar clears the shared object /foo/bar; if bar is a directory name, no shared objects are deleted.
              // /foo/bar/* clears all shared objects stored under the instance directory /foo/bar. 
              // The bar directory is also deleted if no persistent shared objects are in use within this namespace.
              // /foo/bar/XX?? clears all shared objects that begin with XX, followed by any two characters. If a directory name matches
              // this specification, all the shared objects within this directory are cleared.
              result = ((ISharedObject) scope.getBasicScope(ScopeType.SHARED_OBJECT, name)).clear();
          }
          return result;
      }
docs: {@inheritDoc}