留言板

Using my Service Extension in other Plugins?

thumbnail
Christian Schulze,修改在12 年前。

Using my Service Extension in other Plugins?

Junior Member 帖子: 87 加入日期: 09-11-19 最近的帖子
Hello,

I build a hook with a service, which I create with the ServiceBuilder. Also I extend the Portal Service JournalArticleLocalServiceWrapper to build my own Article-Object.
So when I ask my ArticleServie for an Article I get the original JournalArticle from Liferay and my Extensions for the JournalArticle.

But I want to use this Service Extension in another Portelt?
for the Service I build with ServieBuilder it is easy, only deploy the created jar into tomcat/lib an the Servie is global to use. But how can I do this with my Extension of JournalArticleLocalServiceWrapper? Is there a way to make it globaly avaiable oo have I build it in every Portlet I want to use it?

regards
Chris
thumbnail
Amos Fong,修改在12 年前。

RE: Using my Service Extension in other Plugins?

Liferay Legend 帖子: 2047 加入日期: 08-10-7 最近的帖子