org.gcube.common.vremanagement.deployer.impl.contexts
Class ServiceContext.DeployerResourceConsumer

java.lang.Object
  extended by org.gcube.common.core.resources.GCUBEResource.ResourceConsumer
      extended by org.gcube.common.vremanagement.deployer.impl.contexts.ServiceContext.DeployerResourceConsumer
All Implemented Interfaces:
org.gcube.common.core.utils.events.GCUBEConsumer<org.gcube.common.core.resources.GCUBEResource.ResourceTopic,Object>
Enclosing class:
ServiceContext

public class ServiceContext.DeployerResourceConsumer
extends org.gcube.common.core.resources.GCUBEResource.ResourceConsumer

Consumer to listen when new GCUBEScope are joined to the instance. When notified, it adds the DeployerResource to the new scope.

Author:
Manuele Simi (ISTI-CNR)

Constructor Summary
ServiceContext.DeployerResourceConsumer()
           
 
Method Summary
protected  void onAddScope(org.gcube.common.core.resources.GCUBEResource.AddScopeEvent event)
           
 
Methods inherited from class org.gcube.common.core.resources.GCUBEResource.ResourceConsumer
onEvent, onRemoveScope
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceContext.DeployerResourceConsumer

public ServiceContext.DeployerResourceConsumer()
Method Detail

onAddScope

protected void onAddScope(org.gcube.common.core.resources.GCUBEResource.AddScopeEvent event)
Overrides:
onAddScope in class org.gcube.common.core.resources.GCUBEResource.ResourceConsumer


Copyright © 2012. All Rights Reserved.