org.gcube.data.tm.state
Class TWriterResource

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.TWriterResource
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 final class TWriterResource
extends AccessorResource

A AccessorResource for write-only operations over a SourceResource.

Author:
Fabio Simeoni

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
TWriterResource()
           
 
Method Summary
 org.gcube.data.tmf.api.SourceWriter writer()
          Returns the SourceWriter 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

TWriterResource

public TWriterResource()
Method Detail

writer

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

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


Copyright © 2012. All Rights Reserved.