Next: , Previous: , Up: Spritely Goblins   [Contents][Index]

8 Persistence

Goblins has a secure persistence mechanism that allows for serializing an entire object graph. The mechanism allows objects to describe themselves with only the capabilities they have, this protects against one object claiming it has more abilities than it actually does.

When the object graph can be serialized it allows for it to be stored (e.g. to disk) and restored (sometimes called rehydrated) into the objects it consisted of. Due to the nature of how the persistence mechanism works, it also can be used as a powerful tool in object upgrade and live hacking.