Skip to content

Commit

Permalink
LPS-83292 Wait for DB is getting ready.
Browse files Browse the repository at this point in the history
  • Loading branch information
shuyangzhou authored and brianchandotcom committed Jul 13, 2018
1 parent 93ea46d commit b140ccf
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -24,6 +24,7 @@
import com.liferay.portal.kernel.io.unsync.UnsyncStringReader;
import com.liferay.portal.kernel.log.Log;
import com.liferay.portal.kernel.log.LogFactoryUtil;
import com.liferay.portal.kernel.module.framework.ModuleServiceLifecycle;
import com.liferay.portal.kernel.util.ArrayUtil;
import com.liferay.portal.kernel.util.GetterUtil;
import com.liferay.portal.kernel.util.OrderByComparator;
Expand Down Expand Up @@ -944,6 +945,9 @@ private void _read(
private String _functionIsNotNull;
private String _functionIsNull;

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

@Reference
private Portal _portal;

Expand Down

0 comments on commit b140ccf

Please sign in to comment.