class ScopeProviderContainer implements IScopeProviderContainer {

    public IScope getScope(final Object key) throws ScopeProviderException {
        IScope scope = scopeStorage.get(key);
        if (null == scope) {
            throw new ScopeProviderException("Scope not found.");
        }

        return scope;
    }

    public  ScopeProviderContainer(final IScopeFactory factory);

}