* @throws ItemStateException
* @throws RepositoryException
*/
public GarbageCollector createDataStoreGarbageCollector() throws RepositoryException, ItemStateException {
ArrayList pmList = new ArrayList();
VersionManagerImpl vm = (VersionManagerImpl) rep.getVersionManager();
PersistenceManager pm = vm.getPersistenceManager();
pmList.add(pm);
String[] wspNames = rep.getWorkspaceNames();
SystemSession[] sysSessions = new SystemSession[wspNames.length];
for (int i = 0; i < wspNames.length; i++) {
String wspName = wspNames[i];