Persistence
Keywords: uk.ac.ic.doc.automed.util.persist.Persistence interface

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## uk.ac.ic.doc.automed.util.persist
Interface Persistence

All Known Implementing Classes:
  DefaultQueryCache, QueryCache

    public interface Persistence

Persistence.java Application classes must implement this interface if they want to be persistent

Author:
  Duc M Le dmle@doc.ic.ac.uk Created on 03 August 2006 Department of Computing, Imperial College

Method Summary
`void` | `deserialise()` Read content from disk (file or database)
`AbstractObjectBinding` | `getObjectBinding()` Return an instance of object binding for serialisation
`void` | `serialise(java.lang.Object obj)` Save/synch cache content to disk (or database).
`void` | `setPersistentHandler(PersistentHandler ph)` Implement this method for serialising cache content

Method Detail

### setPersistentHandler

    void setPersistentHandler(PersistentHandler ph)

  Implement this method for serialising cache content

### serialise

    void serialise(java.lang.Object obj)

  Save/synch cache content to disk (or database).

### deserialise

    void deserialise()

  Read content from disk (file or database)

### getObjectBinding

    AbstractObjectBinding getObjectBinding()

  Return an instance of object binding for serialisation

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD