org.gcube.common.core.state
Class GCUBEWSFieldsSerializableResource
java.lang.Object
org.gcube.common.core.utils.handlers.GCUBEServiceClientImpl
org.gcube.common.core.state.GCUBEStatefulResource<GCUBEWSResourceKey>
org.gcube.common.core.state.GCUBEWSResource
org.gcube.common.core.state.GCUBEWSFieldsSerializableResource
- All Implemented Interfaces:
- Serializable, GCUBEWSFields2FilePersistenceDelegate.WSFieldsSerializable, GCUBEServiceClient, org.globus.wsrf.PersistenceCallback, org.globus.wsrf.Resource, org.globus.wsrf.ResourceLifetime, org.globus.wsrf.ResourceProperties, org.globus.wsrf.TopicListAccessor
public abstract class GCUBEWSFieldsSerializableResource
- extends GCUBEWSResource
- implements GCUBEWSFields2FilePersistenceDelegate.WSFieldsSerializable
Base class for GCUBEWSResource implementing the GCUBEWSFields2FilePersistenceDelegate.WSFieldsSerializable interface. It can be used to serialize/deserialize an arbitrary
list of (eventually dynamic) objects extending the Serializable interface. Such fields do not need to be RPs.
- Author:
- Manuele Simi (ISTI-CNR)
- See Also:
- Serialized Form
| Methods inherited from class org.gcube.common.core.state.GCUBEWSResource |
getCurrentTime, getEPR, getPorttypeContext, getProperty, getPropertyNames, getPublisher, getResourcePropertySet, getServiceContext, getTerminationTime, getTopicList, getTopicNames, initialise, initialise, initialiseContainers, inScope, load, publish, setPortTypeContext, setTerminationTime, unpublish |
| 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 |
GCUBEWSFieldsSerializableResource
public GCUBEWSFieldsSerializableResource()
getFieldsToSerialize
public List<? extends Serializable> getFieldsToSerialize()
- Gets the list of fields to serialize
- Specified by:
getFieldsToSerialize in interface GCUBEWSFields2FilePersistenceDelegate.WSFieldsSerializable
- Returns:
- the list of fields to serialize
setFieldsToSerialize
public void setFieldsToSerialize(List<? extends Serializable> objs)
- Restores the list of deserialized fields
- Specified by:
setFieldsToSerialize in interface GCUBEWSFields2FilePersistenceDelegate.WSFieldsSerializable
- Parameters:
objs - the list of deserialized fields
Copyright © 2013. All Rights Reserved.