<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Passing Data between Plug-ins</title>
	<atom:link href="http://www.techjava.de/topics/2009/07/passing-data-between-plug-ins/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.techjava.de/topics/2009/07/passing-data-between-plug-ins/</link>
	<description>Journal on Java Technology</description>
	<lastBuildDate>Tue, 23 Aug 2011 08:02:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: Chris</title>
		<link>http://www.techjava.de/topics/2009/07/passing-data-between-plug-ins/comment-page-1/#comment-17583</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Mon, 25 Jan 2010 13:17:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.techjava.de/?p=436#comment-17583</guid>
		<description>Many Thanks Simon, and again: great tutorial. I went with another tutorial first and it was seriously messed up. Yours is easy to understand!</description>
		<content:encoded><![CDATA[<p>Many Thanks Simon, and again: great tutorial. I went with another tutorial first and it was seriously messed up. Yours is easy to understand!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon Zambrovski</title>
		<link>http://www.techjava.de/topics/2009/07/passing-data-between-plug-ins/comment-page-1/#comment-17579</link>
		<dc:creator>Simon Zambrovski</dc:creator>
		<pubDate>Mon, 25 Jan 2010 11:04:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.techjava.de/?p=436#comment-17579</guid>
		<description>There are several possibilities to fix this. For example the product configuration has the Launching configuration, where you could add the plug-ins to (and set up the activation during the start-up of OSGi). Another thing is: make sure to activate the checkbox &quot;Launch plugin on access to the class&quot;. The third thing is, make sure you design is correct.. It is important that your product / application is independent from the UI. Especially, it seems that you want to launch the Core* functionality and gather extensions implemented by the UI plugin. So, the right way to do so would be to trigger the core plugins from your Application.java... Again, I think you should seriously reason about the way your plug-ins are activated. Don&#039;t rely on some order of OSGi activation, but make it explicit... The Application / Advisors allow you to participate in the lifecycle (check out the correspnding methods like preWindowsOpen() etc...). Make sure to insert your activation code there...</description>
		<content:encoded><![CDATA[<p>There are several possibilities to fix this. For example the product configuration has the Launching configuration, where you could add the plug-ins to (and set up the activation during the start-up of OSGi). Another thing is: make sure to activate the checkbox &#8220;Launch plugin on access to the class&#8221;. The third thing is, make sure you design is correct.. It is important that your product / application is independent from the UI. Especially, it seems that you want to launch the Core* functionality and gather extensions implemented by the UI plugin. So, the right way to do so would be to trigger the core plugins from your Application.java&#8230; Again, I think you should seriously reason about the way your plug-ins are activated. Don&#8217;t rely on some order of OSGi activation, but make it explicit&#8230; The Application / Advisors allow you to participate in the lifecycle (check out the correspnding methods like preWindowsOpen() etc&#8230;). Make sure to insert your activation code there&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.techjava.de/topics/2009/07/passing-data-between-plug-ins/comment-page-1/#comment-17575</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Mon, 25 Jan 2010 05:23:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.techjava.de/?p=436#comment-17575</guid>
		<description>A great tutorial Simon.

I got it to work fine and without any issues. I just stumble over an issue right now. Lets say the UI is my main plugin (extends more than one extension point, lets say core1 and core2 - of different plugin&#039;s each).

In your case the product launch configuration is in the core package - which works. However, if I try to create a product of the UI (with the core* plugins as dependencies and started) then it never seems to start the core* plugins... . Any hint?</description>
		<content:encoded><![CDATA[<p>A great tutorial Simon.</p>
<p>I got it to work fine and without any issues. I just stumble over an issue right now. Lets say the UI is my main plugin (extends more than one extension point, lets say core1 and core2 &#8211; of different plugin&#8217;s each).</p>
<p>In your case the product launch configuration is in the core package &#8211; which works. However, if I try to create a product of the UI (with the core* plugins as dependencies and started) then it never seems to start the core* plugins&#8230; . Any hint?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon Zambrovski</title>
		<link>http://www.techjava.de/topics/2009/07/passing-data-between-plug-ins/comment-page-1/#comment-16783</link>
		<dc:creator>Simon Zambrovski</dc:creator>
		<pubDate>Mon, 07 Dec 2009 18:46:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.techjava.de/?p=436#comment-16783</guid>
		<description>Read it like add a &quot;reference to the listener&quot; to the sequence. After execution of the previous step, your &quot;extension&quot; element should have a &quot;sequence&quot; element. If the &quot;listener&quot; element is already created, and you right-click on the &quot;sequence&quot; element, you will see the &quot;new&quot; popup-menu, containing &quot;choice&quot;, &quot;sequence&quot; and &quot;listener&quot; items. Clicking on the listener item, you will not create a new element called &quot;listener&quot; but a reference to existing one. If you look up the source of the definition, you&#039;ll see something like: element ref=&quot;listener&quot;.</description>
		<content:encoded><![CDATA[<p>Read it like add a &#8220;reference to the listener&#8221; to the sequence. After execution of the previous step, your &#8220;extension&#8221; element should have a &#8220;sequence&#8221; element. If the &#8220;listener&#8221; element is already created, and you right-click on the &#8220;sequence&#8221; element, you will see the &#8220;new&#8221; popup-menu, containing &#8220;choice&#8221;, &#8220;sequence&#8221; and &#8220;listener&#8221; items. Clicking on the listener item, you will not create a new element called &#8220;listener&#8221; but a reference to existing one. If you look up the source of the definition, you&#8217;ll see something like: element ref=&#8221;listener&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin</title>
		<link>http://www.techjava.de/topics/2009/07/passing-data-between-plug-ins/comment-page-1/#comment-16781</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Mon, 07 Dec 2009 18:25:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.techjava.de/?p=436#comment-16781</guid>
		<description>I don&#039;t understand the step&#039;Add a reference to the listener to the Sequence&#039; in the creation of the extension Point, could you check it again?</description>
		<content:encoded><![CDATA[<p>I don&#8217;t understand the step&#8217;Add a reference to the listener to the Sequence&#8217; in the creation of the extension Point, could you check it again?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

