Examples of ScopeNotFoundException


Examples of org.apache.tuscany.spi.component.ScopeNotFoundException

        assert Scope.MODULE != scope : "Cannot get MODULE scope from the registry";
        ScopeContainer container = scopeCache.get(scope);
        if (container == null) {
            ObjectFactory<? extends ScopeContainer> factory = factoryCache.get(scope);
            if (factory == null) {
                ScopeNotFoundException e = new ScopeNotFoundException("Scope object factory not registered for scope");
                e.setIdentifier(scope.getScope());
               
                throw e;
            }
            container = factory.getInstance();
            container.setWorkContext(workContext);
View Full Code Here

Examples of org.red5.server.exception.ScopeNotFoundException

        }
        // get child scope
        scope = scope.getScope(child);
        // if the scope is null then the room was not found
        if (scope == null) {
          throw new ScopeNotFoundException(scope, child);
        }
        // some scopes don't implement IScope, such as SharedObjectScope
        if (scope instanceof IScope) {
          if (scope.getType().equals(ScopeType.APPLICATION) && ((WebScope) scope).isShuttingDown()) {
            throw new ScopeShuttingDownException(scope);
View Full Code Here

Examples of org.red5.server.exception.ScopeNotFoundException

    } else {
      scope = globalScope;
    }

    if (scope == null) {
      throw new ScopeNotFoundException(globalScope, path);
    }

    return scope;
  }
View Full Code Here

Examples of org.red5.server.exception.ScopeNotFoundException

          if (scope.hasChildScope(room)) {
            scope = scope.getScope(room);
          } else if (scope.createChildScope(room)) {
            scope = scope.getScope(room);
          } else {
            throw new ScopeNotFoundException(scope, room);
          }
        }
      } else {
        throw new ScopeNotFoundException(scope, room);
      }
     
      if (scope instanceof WebScope && ((WebScope) scope).isShuttingDown()) {
        throw new ScopeShuttingDownException(scope);
      }
View Full Code Here

Examples of org.red5.server.exception.ScopeNotFoundException

    } else {
      scope = globalScope;
    }

    if (scope == null) {
      throw new ScopeNotFoundException(globalScope, path);
    }

    return scope;
  }
View Full Code Here

Examples of org.red5.server.exception.ScopeNotFoundException

    } else {
      scope = globalScope;
    }

    if (scope == null) {
      throw new ScopeNotFoundException(globalScope, path);
    }

    return scope;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.