掲示板

Liferay Hooks: A Basic question on understanding Liferay Hooks

12年前 に Kiran Jai によって更新されました。

Liferay Hooks: A Basic question on understanding Liferay Hooks

Junior Member 投稿: 38 参加年月日: 12/04/09 最新の投稿
I am using Liferay 6 for development .

I am trying to understand the concept of Liferay Hooks. While googling I came across a Liferay Hooks example which specified a liferay-hook-xml with the following entry:

liferay-hook.xml

<hook>
<portal-properties>portal-hook.properties</portal-properties>
<service>
<service-type>com.liferay.portal.service.UserLocalService</service-type>
<service-impl> com.integratingstuff.liferay.hooks.CustomUserLocalServiceImpl</service-impl>
</service>
</hook>

Could anybody please tell me what exactly does this mean? My understanding is that the UserLocalService class of Liferay has been overridden to use CustomUserLocalServiceImpl. Is this correct?
thumbnail
12年前 に Ravi Kumar Gupta によって更新されました。

RE: Liferay Hooks: A Basic question on understanding Liferay Hooks

Liferay Legend 投稿: 1302 参加年月日: 09/06/24 最新の投稿
Yep.. for this particular liferay service "UserLocalService" liferay will now use "CustomUserLocalServiceImpl"
12年前 に Kiran Jai によって更新されました。

RE: Liferay Hooks: A Basic question on understanding Liferay Hooks

Junior Member 投稿: 38 参加年月日: 12/04/09 最新の投稿
Thank , i got my question resolved .