com.esf.core.persistence.service
Class Persistence

java.lang.Object
  extended by com.esf.core.persistence.service.Persistence

public class Persistence
extends java.lang.Object

The persistence flags are defined as OS_PERSISTENCE = indicates the configuration is applicable only to OS ESF_PERSISTENCE = indicates configuration is applicable only to ESF EFFECTIVE_NOW_PERSISTENCE = indicates configuration is to take effect now Use OR flags to indicate combination of above conditions For example to have configuration applicable for OS as well as ESF use OS_Persistance | ESF_Persistence . Similarly for all three combinations use OS_Persistence | ESF_Persistence | EFFECTIVENOW_Persistance The STATE flags can be used for fetching configurations with respect to their persistence levels.


Field Summary
static int CURRENT_STATE
          CURRENT_STATE = indicates configuration that is in effect now
static int EFFECTIVE_NOW_PERSISTENCE
          EFFECTIVE_NOW_PERSISTENCE = indicates configuration is to take effect now
static int ESF_PERSISTENCE
          ESF_PERSISTENCE = indicates configuration is applicable only to ESF
static int ESF_STATE
          ESF_STATE = indicates configuration is stored in ESF configuration
static int OS_PERSISTENCE
          OS_PERSISTENCE = indicates the configuration is applicable only to OS
static int OS_STATE
          OS_STATE = indicates the configuration is stored in the OS configuration
 
Constructor Summary
Persistence()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OS_PERSISTENCE

public static final int OS_PERSISTENCE
OS_PERSISTENCE = indicates the configuration is applicable only to OS

See Also:
Constant Field Values

ESF_PERSISTENCE

public static final int ESF_PERSISTENCE
ESF_PERSISTENCE = indicates configuration is applicable only to ESF

See Also:
Constant Field Values

EFFECTIVE_NOW_PERSISTENCE

public static final int EFFECTIVE_NOW_PERSISTENCE
EFFECTIVE_NOW_PERSISTENCE = indicates configuration is to take effect now

See Also:
Constant Field Values

OS_STATE

public static final int OS_STATE
OS_STATE = indicates the configuration is stored in the OS configuration

See Also:
Constant Field Values

ESF_STATE

public static final int ESF_STATE
ESF_STATE = indicates configuration is stored in ESF configuration

See Also:
Constant Field Values

CURRENT_STATE

public static final int CURRENT_STATE
CURRENT_STATE = indicates configuration that is in effect now

See Also:
Constant Field Values
Constructor Detail

Persistence

public Persistence()