org.gcube.vremanagement.resourcemanager.impl.resources
Class ScopedResourceFactory

java.lang.Object
  extended by org.gcube.vremanagement.resourcemanager.impl.resources.ScopedResourceFactory

public class ScopedResourceFactory
extends Object

Factory for creating ScopedResources

Author:
manuele simi (CNR)

Field Summary
protected static org.gcube.common.core.utils.logging.GCUBELog logger
           
 
Constructor Summary
protected ScopedResourceFactory()
           
 
Method Summary
static ScopedResource newResource(org.gcube.common.core.scope.GCUBEScope scope, String id, String type)
          Creates a new ScopedResource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static org.gcube.common.core.utils.logging.GCUBELog logger
Constructor Detail

ScopedResourceFactory

protected ScopedResourceFactory()
Method Detail

newResource

public static ScopedResource newResource(org.gcube.common.core.scope.GCUBEScope scope,
                                         String id,
                                         String type)
                                  throws Exception
Creates a new ScopedResource

Parameters:
id - the gCube Resource identifier
type - the resource type
scope - the GCUBEScope assigned to the resource
Returns:
the newly created resource
Throws:
Exception


Copyright © 2012. All Rights Reserved.