Inserting Objects in *.ServiceImpl.java


  By default liferay provides some objects injected.

1. counterLocalService

2. userLocalService
    userService
    userPersistance

3. resourceLocalService
    resourceService
    resourcePersistance       and etc....

 So we inject other services by using reference tag in service.xml

        <reference package-path="com.liferay.portlet.asset" entity="AssetEntry" />

Here we are inserting assetEntryLocalService

Comments

  1. Thanks for the post, I am techno savvy. I believe you hit the nail right on the head. I am highly impressed with your blog.
    It is very nicely explained. Your article adds best knowledge to our Java Online Training from India.
    or learn thru Java Online Training from India Students.

    ReplyDelete

Post a Comment

Popular posts from this blog

Theme display in javascript

How to know which liferay version we are using

Viewing the SQL Query in liferay : debugging the SQL Query in Hibernate