org.gcube.vremanagement.resourcemanager.impl.resources
Class ScopedResourceFactory
java.lang.Object
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
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static org.gcube.common.core.utils.logging.GCUBELog logger
ScopedResourceFactory
protected ScopedResourceFactory()
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 identifiertype - the resource typescope - the GCUBEScope assigned to the resource
- Returns:
- the newly created resource
- Throws:
Exception
Copyright © 2012. All Rights Reserved.