Mobile Tools for Java
Release 1.0

org.eclipse.mtj.core.persistence
Interface IPersistable

All Known Subinterfaces:
IBundleReferencePersistable, IDevice, IDeviceClasspath, IDeviceRegistry, ILibrary, IMIDPDevice, IPreverifier, ISymbol, ISymbolSet, ISymbolSetRegistry
All Known Implementing Classes:
API

public interface IPersistable

Instances of this interface are capable of saving and restoring their state.

EXPERIMENTAL. This class or interface has been added as part of a work in progress. There is no guarantee that this API will work or that it will remain the same. Please do not use this API without consulting with the MTJ team.

Since:
1.0

Method Summary
 void loadUsing(IPersistenceProvider persistenceProvider)
          Load the state of this object using the specified persistence state information.
 void storeUsing(IPersistenceProvider persistenceProvider)
          Save the state of this object using the specified persistence state information.
 

Method Detail

loadUsing

void loadUsing(IPersistenceProvider persistenceProvider)
               throws PersistenceException
Load the state of this object using the specified persistence state information.

Parameters:
persistenceProvider -
Throws:
PersistenceException

storeUsing

void storeUsing(IPersistenceProvider persistenceProvider)
                throws PersistenceException
Save the state of this object using the specified persistence state information.

Parameters:
persistenceProvider -
Throws:
PersistenceException

Mobile Tools for Java
Release 1.0