@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()
RunOnceStateManagerisRunOnce() to return the right value.initialize in interface RunOnceStateManagerpublic boolean isRunOnce()
RunOnceStateManagerisRunOnce in interface RunOnceStateManagerpublic void persistState(RunOnceState state)
RunOnceStateManagerpersistState in interface RunOnceStateManagerpublic String getPersistentPropertyKey()
public File getPropertiesFile()
protected Properties getProperties()
protected boolean getRunOnce()
Copyright © 2010–2014 The Kuali Foundation. All rights reserved.