org.gcube.data.analysis.statisticalmanager.wsresources
Class ResourcePersistentDelegate

java.lang.Object
  extended by org.gcube.common.core.persistence.GCUBEPersistenceDelegate<RESOURCEID,RESOURCE>
      extended by org.gcube.common.core.persistence.GCUBEFilePersistenceDelegate<org.gcube.common.core.state.GCUBEWSResourceKey,RESOURCE>
          extended by org.gcube.common.core.persistence.GCUBEWSFilePersistenceDelegate<StatisticalManagerServiceResource>
              extended by org.gcube.data.analysis.statisticalmanager.wsresources.ResourcePersistentDelegate

public class ResourcePersistentDelegate
extends org.gcube.common.core.persistence.GCUBEWSFilePersistenceDelegate<StatisticalManagerServiceResource>


Field Summary
 
Fields inherited from class org.gcube.common.core.persistence.GCUBEWSFilePersistenceDelegate
ctxt, WSRESOURCE_FILE_SUFFIX
 
Fields inherited from class org.gcube.common.core.persistence.GCUBEPersistenceDelegate
logger
 
Constructor Summary
ResourcePersistentDelegate()
           
 
Method Summary
protected  void onLoad(StatisticalManagerServiceResource resource, ObjectInputStream ois)
          
protected  void onStore(StatisticalManagerServiceResource resource, ObjectOutputStream oos)
          
 
Methods inherited from class org.gcube.common.core.persistence.GCUBEWSFilePersistenceDelegate
getFileFromResource, getIDFromFileName, getSuffix, initialise
 
Methods inherited from class org.gcube.common.core.persistence.GCUBEFilePersistenceDelegate
getResourceIdentifiers, getStorageRoot, onLoad, onRemove, onStore
 
Methods inherited from class org.gcube.common.core.persistence.GCUBEPersistenceDelegate
load, remove, store
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourcePersistentDelegate

public ResourcePersistentDelegate()
Method Detail

onLoad

protected void onLoad(StatisticalManagerServiceResource resource,
                      ObjectInputStream ois)
               throws Exception

Overrides:
onLoad in class org.gcube.common.core.persistence.GCUBEWSFilePersistenceDelegate<StatisticalManagerServiceResource>
Throws:
Exception

onStore

protected void onStore(StatisticalManagerServiceResource resource,
                       ObjectOutputStream oos)
                throws Exception

Overrides:
onStore in class org.gcube.common.core.persistence.GCUBEWSFilePersistenceDelegate<StatisticalManagerServiceResource>
Throws:
Exception


Copyright © 2012. All Rights Reserved.