org.openmrs.util
Class OpenmrsMemento

java.lang.Object
  extended by org.openmrs.util.OpenmrsMemento
Direct Known Subclasses:
TimerSchedulerMemento

public abstract class OpenmrsMemento
extends java.lang.Object

This class is used to save the current state of an object/class. Before the the current classloader is destroyed, the state of, for example, the scheduled items needs to be saved. Then, after restoring the classloader and api, the state can be restored

See Also:
OpenmrsClassLoader.destroyInstance(), OpenmrsClassLoader.saveState(), OpenmrsClassLoader.restoreState()

Constructor Summary
OpenmrsMemento()
           
 
Method Summary
abstract  java.lang.Object getState()
           
abstract  void setState(java.lang.Object state)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenmrsMemento

public OpenmrsMemento()
Method Detail

getState

public abstract java.lang.Object getState()

setState

public abstract void setState(java.lang.Object state)

OpenMRS-1.7.x

Generated Apr 27 2012 10:06 PM. NOTE - these libraries are in active development and subject to change