Skip to content

Commit

Permalink
LPD-40144 Postpone FeatureFlagsBagProviderImpl activation for class n…
Browse files Browse the repository at this point in the history
…ame cache usage.
  • Loading branch information
shuyangzhou authored and brianchandotcom committed Oct 24, 2024
1 parent 19d7b59 commit 4fb37b7
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
import com.liferay.portal.kernel.log.Log;
import com.liferay.portal.kernel.log.LogFactoryUtil;
import com.liferay.portal.kernel.model.CompanyConstants;
import com.liferay.portal.kernel.module.framework.ModuleServiceLifecycle;
import com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService;
import com.liferay.portal.kernel.security.auth.CompanyThreadLocal;
import com.liferay.portal.kernel.service.CompanyLocalService;
Expand Down Expand Up @@ -344,6 +345,9 @@ private void _populateFeatureFlagsMap(
private static final Map<Long, FeatureFlagsBag> _featureFlagsBags =
new ConcurrentHashMap<>();

@Reference(target = ModuleServiceLifecycle.PORTAL_INITIALIZED)
private ModuleServiceLifecycle _moduleServiceLifecycle;

@Reference
private CompanyLocalService _companyLocalService;

Expand Down

0 comments on commit 4fb37b7

Please sign in to comment.