org.gcube.data.tm.state
Class TReaderResource

java.lang.Object
  extended by org.gcube.common.core.utils.handlers.GCUBEServiceClientImpl
      extended by org.gcube.common.core.state.GCUBEStatefulResource<org.gcube.common.core.state.GCUBEWSResourceKey>
          extended by org.gcube.common.core.state.GCUBEWSResource
              extended by org.gcube.common.core.state.GCUBEWSLiteResource<SourceResource>
                  extended by org.gcube.data.tm.state.AccessorResource
                      extended by org.gcube.data.tm.state.TReaderResource
All Implemented Interfaces:
org.gcube.common.core.utils.handlers.GCUBEServiceClient, org.gcube.data.tmf.api.SourceConsumer, org.globus.wsrf.PersistenceCallback, org.globus.wsrf.Resource, org.globus.wsrf.ResourceLifetime, org.globus.wsrf.ResourceProperties, org.globus.wsrf.TopicListAccessor

public class TReaderResource
extends AccessorResource

A stateful resource of the T-Reader service.

Author:
Fabio Simeoni, Lucio Lelii (lucio.lelii@isti.cnr.it)

Nested Class Summary
 
Nested classes/interfaces inherited from class org.gcube.common.core.state.GCUBEStatefulResource
org.gcube.common.core.state.GCUBEStatefulResource.LOCK, org.gcube.common.core.state.GCUBEStatefulResource.TaskContext
 
Field Summary
 
Fields inherited from class org.gcube.data.tm.state.AccessorResource
PART_SIZE
 
Fields inherited from class org.gcube.common.core.state.GCUBEStatefulResource
logger, uuidGen
 
Constructor Summary
TReaderResource()
           
 
Method Summary
 org.gcube.data.tmf.api.SourceReader reader()
          Returns the SourceReader of the plugin bound to this resource.
 
Methods inherited from class org.gcube.data.tm.state.AccessorResource
getCardinality, getLastUpdate, getName, getPlugin, getProperty, getPropertyNames, getSourceId, getType, initialise, initialiseContainers, onEvent, subscribeForChange
 
Methods inherited from class org.gcube.common.core.state.GCUBEWSLiteResource
getLocalID, getLocalResource, getProperty, initialise, onRemove, setLocalID, transformParams
 
Methods inherited from class org.gcube.common.core.state.GCUBEWSResource
getCurrentTime, getEPR, getPorttypeContext, getPublisher, getResourcePropertySet, getServiceContext, getTerminationTime, getTopicList, getTopicNames, inScope, load, publish, setPortTypeContext, setTerminationTime, unpublish
 
Methods inherited from class org.gcube.common.core.state.GCUBEStatefulResource
getID, getLock, getScheduledTasks, getScope, launchTask, setID, setPersistenceDelegate, stopTask, store
 
Methods inherited from class org.gcube.common.core.utils.handlers.GCUBEServiceClientImpl
getPortTypeMap, setPortTypeMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.globus.wsrf.PersistenceCallback
store
 

Constructor Detail

TReaderResource

public TReaderResource()
Method Detail

reader

public org.gcube.data.tmf.api.SourceReader reader()
                                           throws org.gcube.common.core.faults.GCUBEException
Returns the SourceReader of the plugin bound to this resource.

Returns:
the reader
Throws:
org.gcube.common.core.faults.GCUBEException - if the writer could not be retrieved


Copyright © 2013. All Rights Reserved.