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

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

public class RemoveResourceHandler
extends BaseISPublisherHandler

Handler for removing Resources

Author:
Manuele Simi (ISTI-CNR)

Field Summary
protected static org.gcube.common.core.utils.logging.GCUBELog logger
           
 
Constructor Summary
RemoveResourceHandler(org.gcube.common.core.scope.GCUBEScope scope, ISRegistryClient registryClient, String resourceID, String type)
           
 
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

RemoveResourceHandler

public RemoveResourceHandler(org.gcube.common.core.scope.GCUBEScope scope,
                             ISRegistryClient registryClient,
                             String resourceID,
                             String type)
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.