| Package | Description |
|---|---|
| org.gcube.common.core.persistence | |
| org.gcube.common.core.state |
| Modifier and Type | Class and Description |
|---|---|
class |
GCUBEFilePersistenceDelegate<RESOURCEID,RESOURCE extends GCUBEStatefulResource<RESOURCEID>>
A partial specialisation of
GCUBEPersistenceDelegate suitable for file storage. |
class |
GCUBEPersistenceDelegate<RESOURCEID,RESOURCE extends GCUBEStatefulResource<RESOURCEID>>
A partial implementation of persistence delegates for
GCUBStatefulResources. |
| Modifier and Type | Method and Description |
|---|---|
void |
GCUBENoPersistenceDelegate.load(GCUBEStatefulResource<RESOURCEID> resource,
boolean firstLoad)
Deserialises the state of an uninitialised resource.
|
protected void |
GCUBENoPersistenceDelegate.onLoad(GCUBEStatefulResource<RESOURCEID> resource,
boolean firstLoad)
Invoked by
GCUBEPersistenceDelegate.load(GCUBEStatefulResource, boolean) to deserialise a resource. |
protected void |
GCUBENoPersistenceDelegate.onRemove(GCUBEStatefulResource<RESOURCEID> resource)
Invoked by
GCUBEPersistenceDelegate.remove(GCUBEStatefulResource) to remove the serialisation of a resource. |
protected void |
GCUBENoPersistenceDelegate.onStore(GCUBEStatefulResource<RESOURCEID> resource)
Invoked by
GCUBEPersistenceDelegate.store(GCUBEStatefulResource) to serialise a resource. |
void |
GCUBENoPersistenceDelegate.remove(GCUBEStatefulResource<RESOURCEID> resource)
Removes the serialisation of a resource.
|
void |
GCUBENoPersistenceDelegate.store(GCUBEStatefulResource<RESOURCEID> resource)
Serialises the state of a resource.
|
| Modifier and Type | Class and Description |
|---|---|
class |
GCUBEResourceHome<LEGACYID,RESOURCEID extends LEGACYID,RESOURCE extends GCUBEStatefulResource<RESOURCEID>>
Partial implementation of managers of
GCUBEStatefulResources. |
| Modifier and Type | Class and Description |
|---|---|
class |
GCUBELocalResource
An abstract specialisation of
GCUBEStatefulResource for stateful entities that
are locally accessible. |
class |
GCUBEWSFieldsSerializableResource
Base class for
GCUBEWSResource implementing the GCUBEWSFields2FilePersistenceDelegate.WSFieldsSerializable interface. |
class |
GCUBEWSLiteResource<LOCAL extends GCUBELocalResource>
An abstract specialisation of
GCUBEWSResources for resource that act as views
over GCUBELocalResources. |
class |
GCUBEWSResource
An abstract specialisation of
GCUBEStatefulResource for stateful entities that
are accessible to remote clients through the interface of a service port-type. |
| Modifier and Type | Method and Description |
|---|---|
void |
GCUBEStatefulResource.setPersistenceDelegate(GCUBEPersistenceDelegate<RESOURCEID,? extends GCUBEStatefulResource<RESOURCEID>> delegate)
Invoked by the
GCUBEResourceHome of the resource to set the GCUBEPersistenceDelegate that is responsible for
the serialisation and deserialisation of the resource to and from long-term storage. |
Copyright © 2015. All Rights Reserved.