Mobile Tools for Java
Release 1.0

org.eclipse.mtj.core.persistence
Interface IPersistable

All Known Subinterfaces:
IBundleReferencePersistable, IDevice, IDevice2, ILibrary, IPreverifier
All Known Implementing Classes:
AbstractDevice, API, Classpath, DeviceRegistry, JavaEmulatorDevice, Library, StandardPreverifier, StandardPreverifierParameters, SymbolDefinitionSet, SymbolDefinitionSetRegistry, UEIDevice, VMInstallClasspath

public interface IPersistable

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


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