|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openmrs.util.OpenmrsMemento
public abstract class OpenmrsMemento
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
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 |
---|
public OpenmrsMemento()
Method Detail |
---|
public abstract java.lang.Object getState()
public abstract void setState(java.lang.Object state)
|
OpenMRS-1.7.x | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |