com.softwareag.centrasite.appl.framework.persistence
Class FlushMode

java.lang.Object
  extended by com.softwareag.centrasite.appl.framework.persistence.FlushMode

public final class FlushMode
extends java.lang.Object

The Bean-to-JAXR Mapper provides its users with the ability to control how the data in the beans is being synchronized with the one in the registry. It is done by choosing the appropriate for the application or use case FlushMode. The default FlushMode is AUTO.


Field Summary
static FlushMode AUTO
          The flushing/synchronization of the beans with the regisrty is done automatically by the BeanPool.
static FlushMode MANUAL
          The BeanPool is flushed/synchronized with the registry only when the BeanPool.flush() is invoked.
 
Method Summary
 boolean isMode(FlushMode mode)
          Checks if the current mode is the same as another one.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AUTO

public static final FlushMode AUTO
The flushing/synchronization of the beans with the regisrty is done automatically by the BeanPool. There is no need to call BeanPool.flush().


MANUAL

public static final FlushMode MANUAL
The BeanPool is flushed/synchronized with the registry only when the BeanPool.flush() is invoked.

Method Detail

isMode

public boolean isMode(FlushMode mode)
Checks if the current mode is the same as another one.

Parameters:
mode -
Returns:
FlushMode