@Deprecated public class PropertiesFileStateManager extends Object implements RunOnceStateManager
Constructor and Description |
---|
PropertiesFileStateManager(File propertiesFile,
String encoding,
String persistentPropertyKey)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
getPersistentPropertyKey()
Deprecated.
|
protected Properties |
getProperties()
Deprecated.
|
File |
getPropertiesFile()
Deprecated.
|
protected boolean |
getRunOnce()
Deprecated.
|
void |
initialize()
Deprecated.
Do whatever needs to be done in order for
isRunOnce() to return the right value. |
boolean |
isRunOnce()
Deprecated.
Return true if it is safe to run something once, false otherwise.
|
void |
persistState(RunOnceState state)
Deprecated.
Update state in a way that persists across JVM restarts (eg database table, properties file, etc)
|
public PropertiesFileStateManager(File propertiesFile, String encoding, String persistentPropertyKey)
public void initialize()
RunOnceStateManager
isRunOnce()
to return the right value.initialize
in interface RunOnceStateManager
public boolean isRunOnce()
RunOnceStateManager
isRunOnce
in interface RunOnceStateManager
public void persistState(RunOnceState state)
RunOnceStateManager
persistState
in interface RunOnceStateManager
public String getPersistentPropertyKey()
public File getPropertiesFile()
protected Properties getProperties()
protected boolean getRunOnce()
Copyright © 2010–2014 The Kuali Foundation. All rights reserved.