开发者

How to launch a daemon on RCP plugin load

开发者 https://www.devze.com 2023-02-06 14:45 出处:网络
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.

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

精彩评论

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

关注公众号