org.nuiton.wikitty
Class WikittyServiceInMemory
java.lang.Object
org.nuiton.wikitty.WikittyServiceImpl
org.nuiton.wikitty.WikittyServiceInMemory
- All Implemented Interfaces:
- WikittyService
public class WikittyServiceInMemory
- extends WikittyServiceImpl
In memory implementation of WikittyService, currently used for test only.
- Version:
- $Revision: 219 $
Last update: $Date: 2010-08-03 15:37:36 +0200 (mar., 03 août 2010) $
by : $Author: bleny $
- Author:
- poussin
|
Field Summary |
protected File |
persitenceFile
if persitenceFile is not null, serialize all data to disk during store
operation and the file is reloaded during init |
| Methods inherited from class org.nuiton.wikitty.WikittyServiceImpl |
addLabel, addWikittyServiceListener, canDelete, canRead, canWrite, checkConstraint, clear, delete, delete, delete, findAllAppliedLabels, findAllByCriteria, findAllByCriteria, findAllByLabel, findByCriteria, findByCriteria, findByLabel, getAllExtensionIds, getAllExtensionsRequires, getExtensionStorage, getSearchEngin, getWikittyStorage, login, logout, removeWikittyServiceListener, restore, restore, restore, restore, restoreChildren, restoreExtension, restoreExtension, restoreExtensionLastVersion, restoreExtensionLastVersion, restoreNode, restoreTree, restoreTree, restoreVersion, store, store, store, store, storeExtension, storeExtension, storeExtension, syncEngin, upgradeData |
persitenceFile
protected File persitenceFile
- if persitenceFile is not null, serialize all data to disk during store
operation and the file is reloaded during init
WikittyServiceInMemory
public WikittyServiceInMemory()
WikittyServiceInMemory
public WikittyServiceInMemory(File persitenceFile)
finalize
protected void finalize()
throws Throwable
- Overrides:
finalize in class Object
- Throws:
Throwable
saveToPersistenceFile
public void saveToPersistenceFile()
Copyright © 2009-2010 CodeLutin. All Rights Reserved.