(Richard Jones)

- SF Patch #1659841 Add option to clear context object cache


git-svn-id: http://scm.dspace.org/svn/repo/trunk@1777 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
James Rutherford
2007-04-09 10:51:02 +00:00
parent 15db86801e
commit 6e5a54f707
2 changed files with 9 additions and 0 deletions

View File

@@ -17,6 +17,7 @@
- SF Patch #1659901 Import community and collection structure
- SF Patch #1659837 ItemIterator now deals with item ids also
- SF Patch #1659796 Create administrator wtih command line options
- SF Patch #1659841 Add option to clear context object cache
(Mike Judd)
- SF Patch #1528142 Malformed OAI-PMH response: illegal bytes in UTF-8 for SF Bug #1490162

View File

@@ -321,6 +321,14 @@ public class Context
objectCache.remove(key);
}
/**
* Remove all the objects from the object cache
*/
public void clearCache()
{
objectCache.clear();
}
/**
* set membership in a special group
*