com.virtualweaver.xotics.datamodel
Interface XoUpdateHandler

All Superinterfaces:
java.lang.Cloneable

public interface XoUpdateHandler
extends java.lang.Cloneable

Objects implemented with these interface are used to update a DM instance asynchronously in real time. This feature is not yet implemented, but will be part of future Xotics Document server.

Version:
4.1

Method Summary
 java.lang.Object clone()
          this must be cloneable.
 void setXoDMInstance(XoDMInstance dmi)
          Sets the DM instance on which this update handler must operate.
 void updateAvailable()
          This method is called to inform this that updates are available on DM instance.
 

Method Detail

setXoDMInstance

public void setXoDMInstance(XoDMInstance dmi)
Sets the DM instance on which this update handler must operate.

Parameters:
dmi - target DM instance

updateAvailable

public void updateAvailable()
This method is called to inform this that updates are available on DM instance. This method must call at some moment XoDMInstance.update() to execute updates.


clone

public java.lang.Object clone()
this must be cloneable.

Returns:
cloned object