org.gcube.common.core.contexts
Class GCUBEServiceContext.Stager

java.lang.Object
  extended by org.gcube.common.core.contexts.service.Consumer
      extended by org.gcube.common.core.contexts.GCUBEServiceContext.Stager
All Implemented Interfaces:
GCUBEConsumer<GCUBEServiceContext.RILifetimeTopic,GCUBEServiceContext>
Enclosing class:
GCUBEServiceContext

protected class GCUBEServiceContext.Stager
extends Consumer

A Consumer for staging INITIALISED RIs.

Author:
Fabio Simeoni (University of Strathclyde)

Field Summary
 
Fields inherited from class org.gcube.common.core.contexts.service.Consumer
consumerLogger
 
Constructor Summary
protected GCUBEServiceContext.Stager()
           
 
Method Summary
 GCUBEServiceContext.RILifetimeTopic[] getTopics()
          Returns the list of topics handled by the consumer.
protected  void onRIInitialised(GCUBEServiceContext.RILifetimeEvent event)
          Initialisation event callback.
 
Methods inherited from class org.gcube.common.core.contexts.service.Consumer
onEvent, onGHNShutdown, onRIDeployed, onRIFailed, onRIReady, onRIStateChange, onRIUpdated, setLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GCUBEServiceContext.Stager

protected GCUBEServiceContext.Stager()
Method Detail

getTopics

public GCUBEServiceContext.RILifetimeTopic[] getTopics()
Description copied from class: Consumer
Returns the list of topics handled by the consumer.

Overrides:
getTopics in class Consumer
Returns:
the topics.

onRIInitialised

protected void onRIInitialised(GCUBEServiceContext.RILifetimeEvent event)
                        throws Exception
Description copied from class: Consumer
Initialisation event callback.

Overrides:
onRIInitialised in class Consumer
Parameters:
event - the event.
Throws:
Exception - if the callback could not complete successfully.


Copyright © 2012. All Rights Reserved.