public PersistenceBrokerPortletRegistry(String repositoryPath, JetspeedCache applicationOidCache, JetspeedCache portletOidCache, JetspeedCache applicationNameCache, JetspeedCache portletNameCache, PortletPreferencesProvider preferenceService, SearchEngine search) { super(repositoryPath); this.applicationOidCache = applicationOidCache; this.portletOidCache = portletOidCache; this.applicationNameCache = applicationNameCache; this.portletNameCache = portletNameCache; PortletApplicationProxyImpl.setRegistry(this); RegistryApplicationCache.cacheInit(this, applicationOidCache, applicationNameCache, listeners); RegistryPortletCache.cacheInit(this, portletOidCache, portletNameCache, listeners); this.applicationNameCache.addEventListener(this, false); this.portletNameCache.addEventListener(this, false); this.preferenceService = preferenceService; this.searchEngine = search; }