org.globus.exec.service.utils
Class PersistenceHelper
java.lang.Object
org.globus.wsrf.utils.FilePersistenceHelper
org.globus.wsrf.utils.XmlPersistenceHelper
org.globus.exec.service.utils.PersistenceHelper
- public class PersistenceHelper
- extends XmlPersistenceHelper
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
private static org.apache.commons.logging.Log logger
i18n
private static org.globus.util.I18n i18n
performanceLogger
private static PerformanceLog performanceLogger
TESTING
private static final boolean TESTING
- See Also:
- Constant Field Values
jobResource
private PersistentManagedJobResource jobResource
PersistenceHelper
public PersistenceHelper(PersistentManagedJobResource resource)
throws java.io.IOException
- Postcondition this.getResource().equals(resource)
- Parameters:
resource - PersistentManagedJobResource
- Throws:
java.io.IOException
getResource
public PersistentManagedJobResource getResource()
store
public void store()
throws ResourceException
If the resource was successfully stored, its dirty flag is set to false.
Postcondition getDirty() == false
- Throws:
ResourceException - if the resource could not be stored- See Also:
setDirty(),
getKeyAsFile(),
PersistentResource
load
public void load(ResourceKey key)
throws ResourceException
If the resource was successfully loaded, its dirty flag is set to false.
Postcondition getDirty() == false
- Throws:
ResourceException- See Also:
setDirty()
remove
public void remove()
throws ResourceException
- Throws:
ResourceException