Check point of Lookup Caching.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4401 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2006-11-20 19:22:38 +00:00
parent a65d2952fc
commit 454a26767e
5 changed files with 233 additions and 64 deletions

View File

@@ -3,6 +3,7 @@
*/
package org.alfresco.repo.avm.util;
import org.alfresco.repo.avm.LookupCache;
import org.alfresco.repo.content.ContentStore;
import org.alfresco.repo.security.authentication.AuthenticationComponent;
import org.alfresco.service.cmr.dictionary.DictionaryService;
@@ -52,6 +53,11 @@ public class RawServices implements ApplicationContextAware
*/
private ContentStore fContentStore;
/**
* The LookupCache.
*/
private LookupCache fLookupCache;
/**
* Default constructor.
*/
@@ -120,6 +126,15 @@ public class RawServices implements ApplicationContextAware
return fContentStore;
}
public LookupCache getLookupCache()
{
if (fLookupCache == null)
{
fLookupCache = (LookupCache)fContext.getBean("lookupCache");
}
return fLookupCache;
}
public ApplicationContext getContext()
{
return fContext;