开发者

How to launch a daemon on RCP plugin load

I'm developing an RCP plugin and what to launch a java based service when it loads first time. So开发者_运维百科 please tell how should I do this. That is the java file that runs on the first launch.

Regards, Levon


First add a new startup org.eclipse.ui.startup extension to the your RCP application then create a class that implements org.eclipse.ui.IStartup and run a thread with using Eclipse Jobs Api.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜