Xzajo's Weblog

All | Java | nbxdoclet | NetBeans | Personal | Project Extensions | Sun | Testing
« Run only tests which... | Main | Command Line Parsing... »
20060915 Friday September 15, 2006

META-INF/services Browser for NBM project

Together with Jaroslav Tulach we are developing META-INF/services browser for NetBeans module project. In short META-INF services node was added to Important files node:

The META-INF services node has two children nodes:

The Service can be added from pop-up menu of Service type by clicking to Add New Service item. It shows Add Service dialog:

Full class name of Service is typed to Class name text field. The class name of new service can be also selected in packages view. The package view will be shown after clicking on Browse button:

Already installed service can be masked/unmasked from default Lookup by Delete menu item on service instance in All Services view.

Details about this feature are in issue #66606. We want to integrate it to Milestone 4 NetBeans build.

Posted by xzajo ( Sep 15 2006, 01:09:55 PM CEST ) Permalink Comments [12]

Comments:

Nice. Will it also put service implementations in the layer file if, for example, you're using a static factory method for construction?

Posted by Rich Unger on September 15, 2006 at 10:53 PM CEST #

Nice. Add Service Class is even nicer. Aside from the Browse... button, what is needed is an Add Class button. Clicking on this should show a New Class wizard with proper values such as extends or implements clauses filled in for you. Appropriate imports and module dependencies could also be added. For example check out how the Eclipse PDE deals with any extension attributes that have a Java Class or Interface type here: http://help.eclipse.org/help30/topic/org.eclipse.pde.doc.user/guide/pde_manifest_extensions.htm

Posted by Sandip on September 16, 2006 at 07:33 PM CEST #

As for exporting, there is also "Export as a Service" module on daily update center of trunk builds. It is based on JMI java interfaces, which are about to go away, and that is why it is for now going to stay as separate module. However feel free to download it and try it. It is very nice complement to this browser module.

Posted by Jaroslav Tulach on September 17, 2006 at 10:59 AM CEST #

Answer to Rich:

It's only for META-INF/services. I don't think when will be improved support for registering objects to layer.xml. Jesse wants to rewrite layer view #72541. because there are problems with current implementation. It will be also nice to integrate registration instances from layer view (#67794).

. Answer to Sandip:

I agree with you user wants to create new class during registration and adding module dependency on classpath. I don't know if the service type is interface or class because apsupport/project module doesn't have jmi on classpath. It can be created empty class without extends and implements declaration...

I was also thinking about adding "Add Module Dependency" and "Remove Module Depency" on Service type node. It can be also added a annotation to icon service icon. The annotation will tell if the service type is on classpath of module. May be I'll implement it.

Posted by Petr Zajac on September 18, 2006 at 10:17 AM CEST #

wow power leveling wow power leveling wow powerleveling wow powerleveling 搬家公司

Posted by 水无痕 on July 21, 2007 at 05:21 AM CEST #

Nice blog
<a href="http://www.uclbog.com/" rel="nofollow">powerleveling</a>

Posted by power leveling on November 09, 2007 at 02:43 PM CET #

http://www.wowgolds.co.uk wow gold http://www.wowgolds.co.uk cheap wow gold http://www.wowgolds.co.uk buy wow gold http://www.wowgolds.co.uk world of warcraft gold http://www.wowgolds.co.uk wow http://www.wowgolds.co.uk world of warcraft http://www.wowgolds.co.uk/wow-gold.html wow gold http://www.wowgolds.co.uk/warrior.html WoW Warrior http://www.wowgolds.co.uk/hunter.html WoW Hunter http://www.wowgolds.co.uk/rogue.html WoW Rogue http://www.wowgolds.co.uk/paladin.html WoW Paladin http://www.wowgolds.co.uk/shaman.html WoW Shaman http://www.wowgolds.co.uk/priest.html WoW Priest http://www.wowgolds.co.uk/mage.html WoW Mage http://www.wowgolds.co.uk/druid.html WoW Druid http://www.wowgolds.co.uk/warlock.html WoW Warlock http://www.powerleveling2.cn power leveling http://www.powerleveling2.cn powerleveling http://www.wowpowerleveling2.cn wow power leveling http://www.wowpowerleveling2.cn wow powerleveling http://www.wowpro.cn wow guides http://www.wowmmo.cn wow tips http://ggtop.nbatop.com google排名 http://ggtop.nbatop.com google左侧排名 http://ggtop.nbatop.com google排名服务 http://www.baidupaiming.net 百度推广 http://www.baidupaiming.net 百度排名 http://www.fzqsnet.cn 网站推广 http://www.thebiz8.com 商业吧 http://www.thebiz8.com/jichuang.html 机床 http://www.thebiz8.com/leddeng.html LED灯 http://www.thebiz8.com/dianchi.html 电池 http://www.thebiz8.com/suliao.html 塑料 http://www.thebiz8.com/shexiangji.html 摄像机 http://www.thebiz8.com/yimin.html 移民 http://www.thebiz8.com/jiachun.html 甲醇 http://www.thebiz8.com/ranliao.html 染料 http://www.0591qs.cn 福州热线 http://www.sportblog.org.cn 体育博客 http://www.stockblog.org.cn 股票博客 http://www.gameblog.org.cn 游戏博客 http://www.cheap-wow-gold.org.cn 魔兽博客 http://www.excamtest.cn 考试博客 http://www.carblog.org.cn 汽车博客 http://www.houseblog.org.cn 房产博客 http://www.pcblog.org.cn 电脑博客 http://powerlin518.iblog.com powerlin518 http://www.xcelwebdesign.com logo design http://www.xcelwebdesign.com website design http://www.xcelwebdesign.com web design http://www.shangbiaodesign.cn 商标设计

Posted by power leveling on March 20, 2008 at 04:35 PM CET #

http://www.y-klaw.com/
http://www.daikenfudousan.com/
http://www.fudousanget.com/kaitoriget/
http://www.daikenfudousan.com/sateiget/
http://www.daikenfudousan.com/kaitorigetb/
http://www.fudousanget.com/kaitorigetb/
http://www.fudousangel.com/
http://www.fudousan-no1.com/
http://www.chintai-1ban.com/
http://www.sintiku-no1.com/
http://www.fudousantousi-no1.com/
http://www.tokyo-no1.com/
http://www.president-partners.com/
http://www.presidentpartners.com/
http://www.interior-no1.com/
http://www.no1-fashion.com/
http://www.brand-no1.com/
http://www.sitagi-no1.com/
http://www.sitagi-no1.com/
http://www.kesho-no1.com/
http://www.kesho-no1.com/
http://www.kagu-no1.com/
http://www.daikenf.com/
http://www.gaisha-no1.com/
http://www.jewelry-no1.com/
http://www.tokei-no1.com/
http://www.1-no1.com/
http://www.a-fudosan.jp/
http://www.a-fudosan.jp/
http://www.a-fudosan.jp/area/index.php?_k=38
http://www.a-fudosan.jp/area/index.php?_k=37
http://www.a-fudosan.jp/area/index.php?_k=36
http://www.a-fudosan.jp/area/index.php?_k=39
http://www.a-fudosan.jp/area/index.php?_k=37
http://272003.sintiku-no1.com/
http://776126.sintiku-no1.com/
http://78239.sintiku-no1.com/
http://782821.sintiku-no1.com/
http://87201.sintiku-no1.com/
http://kajsi.sintiku-no1.com/
http://333.fudousantousi-no1.com/
http://4333.fudousantousi-no1.com/
http://55.fudousantousi-no1.com/
http://555.fudousantousi-no1.com/
http://5555.fudousantousi-no1.com/
http://19292.tokyo-no1.com/

Posted by 収益物件 on October 27, 2008 at 04:01 AM CET #

http://sunnyren.weblog.com/
this blog introduces jewelry products and fashion jewelry

Posted by fashion jewelry on October 31, 2008 at 06:48 AM CET #

[http://www.mediterraneo-net.com/ レーシック 失敗]
[http://www.syouhikarori.com/ 筋トレの正しい方法]
[http://www.redcarnelian.com/resi/ レーシック手術失敗例]
[http://www.ireneblea.com/kinnsi/ 錦糸眼科の評判・口コミ・うわさ]
[http://www.sostips.com/kinnsi/ 錦糸眼科]
[http://www.wolfpackden.com/ 基礎代謝]
[http://www.2007senkyo.jp/pc/re-sikku/ レーシック 失敗]
[http://www.2007senkyo.jp/pc/fx/ FX比較]
[http://www.2007senkyo.jp/pc/gold/ ゴールドカード]
[http://dental-job.jp/re-sikku/ レーシック]
[http://dental-job.jp/goldcard/ ゴールドカード]
[http://dental-job.jp/fx/ FX初心者]
[http://dental-job.jp/kinnsi/ 錦糸眼科]
[http://dental-job.jp/kanagawa/ 神奈川クリニック眼科]
[http://www.2007senkyo.jp/pc/kinnsi/ 錦糸眼科]
[http://www.2007senkyo.jp/pc/kanagawa/ 神奈川クリニック眼科 レーシック]
[http://www.chinagate.jp/kinnsi/ 錦糸眼科]

Posted by misato on November 12, 2008 at 10:25 AM CET #

Post a Comment:

Comments are closed for this entry.

Calendar

RSS Feeds

Search

Links

Navigation

Referers