<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>How to make application start up action hook in liferay DXP?</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=110972893" />
  <subtitle>How to make application start up action hook in liferay DXP?</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=110972893</id>
  <updated>2026-04-04T06:00:11Z</updated>
  <dc:date>2026-04-04T06:00:11Z</dc:date>
  <entry>
    <title>RE: How to make application start up action hook in liferay DXP?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110984519" />
    <author>
      <name>David H Nebinger</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110984519</id>
    <updated>2018-09-19T13:16:31Z</updated>
    <published>2018-09-19T13:16:31Z</published>
    <summary type="html">&lt;p&gt;Actually it is easier than that...&lt;/p&gt;
&lt;p&gt;Just create an @Component class. Inside of the class, add the following:&lt;/p&gt;
&lt;pre&gt;
@Reference(target = ModuleServiceLifecycle.PORTAL_INITIALIZED, unbind = &amp;quot;-&amp;quot;)
protected void setModuleServiceLifecycle(ModuleServiceLifecycle moduleServiceLifecycle) { }&lt;/pre&gt;
&lt;p&gt;Then build out your logic in an @Activate method. This method will
  only be invoked once the module has started, the module will only
  start after all references have been satisfied, and the
  PORTAL_INITIALIZED instance is only available to satisfy after the
  portal startup is complete.&lt;/p&gt;</summary>
    <dc:creator>David H Nebinger</dc:creator>
    <dc:date>2018-09-19T13:16:31Z</dc:date>
  </entry>
  <entry>
    <title>RE: How to make application start up action hook in liferay DXP?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110973937" />
    <author>
      <name>Olaf Kock</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110973937</id>
    <updated>2018-09-18T14:25:22Z</updated>
    <published>2018-09-18T14:25:22Z</published>
    <summary type="html">&lt;p&gt;
  &lt;a href="https://github.com/liferay/liferay-blade-samples#user-content-lifecycle-login-pre-action"&gt;https://github.com/liferay/liferay-blade-samples#user-content-lifecycle-login-pre-action&lt;/a&gt;&lt;/p&gt;</summary>
    <dc:creator>Olaf Kock</dc:creator>
    <dc:date>2018-09-18T14:25:22Z</dc:date>
  </entry>
  <entry>
    <title>How to make application start up action hook in liferay DXP?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110972892" />
    <author>
      <name>Abhishek Jain</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110972892</id>
    <updated>2018-09-18T13:02:13Z</updated>
    <published>2018-09-18T13:02:13Z</published>
    <summary type="html">&lt;p&gt;I want to ask - How to make application start up action hook in
  liferay DXP? Please help..&lt;/p&gt;</summary>
    <dc:creator>Abhishek Jain</dc:creator>
    <dc:date>2018-09-18T13:02:13Z</dc:date>
  </entry>
</feed>
