Upgrading Model Listener Hooks

Developers have been creating model listeners for several Liferay Portal versions. Upgrading Model Listener Hooks from previous portal versions has never been easier.

  1. Adapt your code to Liferay DXP 7.1’s API using the Liferay Upgrade Planner. When you ran the planner’s Fix Upgrade Problems step, many of the existing issues were autocorrected or flagged. For any remaining errors, consult the Resolving a Plugin’s Dependencies article.

  2. Deploy the plugin.

Liferay DXP’s Plugin Compatibility Layer converts the plugin WAR to a Web Application Bundle (WAB) and installs it to Liferay’s OSGi Runtime.

Your model listener hook is “all ears” and ready to act.

Creating Model Listeners

Resolving a Plugin’s Dependencies

Configuring Dependencies

Upgrading the Liferay Maven Build

« Upgrading Portlet Language Key HooksUpgrading Servlet Filter Hooks »
Was this article helpful?
0 out of 0 found this helpful