org.gcube.common.vremanagement.deployer.impl.contexts
Class ServiceContext.DeployerResourceConsumer
java.lang.Object
org.gcube.common.core.resources.GCUBEResource.ResourceConsumer
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)
|
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 |
ServiceContext.DeployerResourceConsumer
public ServiceContext.DeployerResourceConsumer()
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.