* @return Scope object
*/
public IScope resolveScope(IScope root, String path) {
log.debug("resolveScope - root: {} path: {}", root, path);
if (root == null) {
throw new ScopeException("Null root scope");
}
// start from root scope
IScope scope = root;
// if there's no path return root scope (e.i. root path scope)
if (StringUtils.isNotEmpty(path)) {