swarm.defobj
Interface Archiver

All Known Subinterfaces:
HDF5Archiver, LispArchiver
All Known Implementing Classes:
LispArchiverImpl, HDF5ArchiverImpl

public abstract interface Archiver
extends CreateS, Create, DropS, Drop

High level abstract serialization interface.. High level abstract serialization interface.


Method Summary
 Object getObject(String key)
          Create the object with `key' using the Archiver's own Zone
 Object getWithZone$object(ZoneImpl aZone, String key)
          Create the object with `key' in the specified Zone
 Object putDeep$object(String key, Object object)
          Register with the Archiver a deep serialization of the object (serialization only occurs when Archiver is saved)
 Object putShallow$object(String key, Object object)
          As per -putDeep, but only make a shallow version
 Object registerClient(Object client)
           
 Object save()
          Execute all the requested -putShallow: and -putDeep: requests using the requested backend
 Object unregisterClient(Object client)
           
 
Methods inherited from interface swarm.defobj.Drop
drop
 
Methods inherited from interface swarm.defobj.DefinedObject
compare, describe, describeID, getDisplayName, getTypeName, getZone, perform, perform$with, perform$with$with, perform$with$with$with, respondsTo, setDisplayName, xfprint, xfprintid, xprint, xprintid
 

Method Detail

registerClient

public Object registerClient(Object client)

unregisterClient

public Object unregisterClient(Object client)

putDeep$object

public Object putDeep$object(String key,
                             Object object)
Register with the Archiver a deep serialization of the object (serialization only occurs when Archiver is saved)

putShallow$object

public Object putShallow$object(String key,
                                Object object)
As per -putDeep, but only make a shallow version

getObject

public Object getObject(String key)
Create the object with `key' using the Archiver's own Zone

getWithZone$object

public Object getWithZone$object(ZoneImpl aZone,
                                 String key)
Create the object with `key' in the specified Zone

save

public Object save()
Execute all the requested -putShallow: and -putDeep: requests using the requested backend