org.gcube.common.informationsystem.publisher.impl.resources
Class CreateResourceHandler

java.lang.Object
  extended by org.gcube.common.informationsystem.publisher.impl.registrations.handlers.BaseISPublisherHandler
      extended by org.gcube.common.informationsystem.publisher.impl.resources.CreateResourceHandler
All Implemented Interfaces:
Runnable, ISPublisherHandler

public class CreateResourceHandler
extends BaseISPublisherHandler

Handler for registering new Resources

Author:
Manuele Simi (ISTI-CNR)

Field Summary
protected static org.gcube.common.core.utils.logging.GCUBELog logger
           
 
Constructor Summary
CreateResourceHandler(org.gcube.common.core.scope.GCUBEScope scope, ISRegistryClient registryClient, org.gcube.common.core.resources.GCUBEResource profile)
           
 
Method Summary
 String getResourceID()
          Gets the identifier of the resource managed by the handler
protected  void submitRequest()
          Submits the request for changing the resource
 
Methods inherited from class org.gcube.common.informationsystem.publisher.impl.registrations.handlers.BaseISPublisherHandler
execute, getFutureTask, run, setFutureTask
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

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

CreateResourceHandler

public CreateResourceHandler(org.gcube.common.core.scope.GCUBEScope scope,
                             ISRegistryClient registryClient,
                             org.gcube.common.core.resources.GCUBEResource profile)
Method Detail

getResourceID

public String getResourceID()
Gets the identifier of the resource managed by the handler

Specified by:
getResourceID in interface ISPublisherHandler
Specified by:
getResourceID in class BaseISPublisherHandler
Returns:
the identifier

submitRequest

protected void submitRequest()
                      throws Exception
Submits the request for changing the resource

Specified by:
submitRequest in class BaseISPublisherHandler
Throws:
Exception


Copyright © 2013. All Rights Reserved.