[jboss-osgi-commits] JBoss-OSGI SVN: r104000 - in projects/jboss-osgi/trunk: distribution/docbook/en/images and 3 other directories.

jboss-osgi-commits at lists.jboss.org jboss-osgi-commits at lists.jboss.org
Thu Apr 15 09:47:22 EDT 2010


Author: thomas.diesler at jboss.com
Date: 2010-04-15 09:47:17 -0400 (Thu, 15 Apr 2010)
New Revision: 104000

Added:
   projects/jboss-osgi/trunk/distribution/docbook/en/images/hudson-matrix.png
   projects/jboss-osgi/trunk/testsuite/example/src/test/java/org/jboss/test/osgi/example/jmx/JMXMBeanServerTestCase.java
   projects/jboss-osgi/trunk/testsuite/example/src/test/java/org/jboss/test/osgi/example/jmx/JMXStandardTestCase.java
Removed:
   projects/jboss-osgi/trunk/distribution/docbook/en/images/hudson-matrix-equinox.png
   projects/jboss-osgi/trunk/distribution/docbook/en/images/hudson-matrix-felix.png
   projects/jboss-osgi/trunk/distribution/docbook/en/images/hudson-matrix-jbossmc.png
   projects/jboss-osgi/trunk/testsuite/example/src/test/java/org/jboss/test/osgi/example/enterprise/jmx/JMXEnterpriseTestCase.java
   projects/jboss-osgi/trunk/testsuite/example/src/test/java/org/jboss/test/osgi/example/jmx/JMXTestCase.java
Modified:
   projects/jboss-osgi/trunk/distribution/docbook/.gitignore
   projects/jboss-osgi/trunk/distribution/docbook/en/images/jmx-agent-view.png
   projects/jboss-osgi/trunk/distribution/docbook/en/modules/ch020-getting-started.xml
   projects/jboss-osgi/trunk/distribution/docbook/en/modules/ch030-runtime.xml
   projects/jboss-osgi/trunk/distribution/docbook/en/modules/ch050-developer-guide.xml
   projects/jboss-osgi/trunk/distribution/docbook/en/modules/ch070-provided-bundles.xml
   projects/jboss-osgi/trunk/distribution/docbook/en/modules/ch080-provided-examples.xml
Log:
Update userguide

Modified: projects/jboss-osgi/trunk/distribution/docbook/.gitignore
===================================================================
--- projects/jboss-osgi/trunk/distribution/docbook/.gitignore	2010-04-15 13:45:28 UTC (rev 103999)
+++ projects/jboss-osgi/trunk/distribution/docbook/.gitignore	2010-04-15 13:47:17 UTC (rev 104000)
@@ -1,2 +1,3 @@
 /target
 /.settings
+/target

Deleted: projects/jboss-osgi/trunk/distribution/docbook/en/images/hudson-matrix-equinox.png
===================================================================
(Binary files differ)

Deleted: projects/jboss-osgi/trunk/distribution/docbook/en/images/hudson-matrix-felix.png
===================================================================
(Binary files differ)

Deleted: projects/jboss-osgi/trunk/distribution/docbook/en/images/hudson-matrix-jbossmc.png
===================================================================
(Binary files differ)

Added: projects/jboss-osgi/trunk/distribution/docbook/en/images/hudson-matrix.png
===================================================================
--- projects/jboss-osgi/trunk/distribution/docbook/en/images/hudson-matrix.png	                        (rev 0)
+++ projects/jboss-osgi/trunk/distribution/docbook/en/images/hudson-matrix.png	2010-04-15 13:47:17 UTC (rev 104000)
@@ -0,0 +1,117 @@
+‰PNG
+
+
+AAAAAAo°Šß¸
+
+Âéááár¹ç?sæN´µµåóù$I~ÿý÷8eõêÕ$IòùüAƒYYY½óÎ;ÕÕÕø¨ŠŠ
+{{{,©¼¼œ$É€€
+
+ðŸ£GÖP^$I†……á›ììlœ˜’’B•´  @ûr¹\œòðáCœG,6'644h™§/‚ÿ\±b>U}}½ŸŸŸJuÅÆÆâ”/¿üRC.Z´g›>}:nz¡Pèè舗-[¦P(H’,++£*7bCCþówÞ
+…øl÷ïßljþþþ8¥ÅvÔpãµ(›j¾aÆyyyáíŸ~ú‰ÔHkWÑò.mwÍhßÜê•£¥6Íе"wÿ!++K(R«zÓ§OWÉ<eÊ”U«V
+8ÐØؘ ˆúúúœœ¼ë³Ï>£Óÿ¾â¬Y³p•J¥éééêMOOÇAÔËË«_¿~8qàÀnnnXRzzzmm-^+¥Ñhÿïÿý?jÖóÉ'ŸÌ;wîܹ£S¦®®®ÔX¯ã'°ö¤Ä,]º4...// ˆÂÂÂòòòòòr<Þ{mžN¼©â<QQQøT&&&ü±æÚˆþQNŸ>³ŒŒŒ¬¬¬pbpp0~îq86›ñ,ºW¯^¹¹¹¹¹¹™™™FFF2™¬°°ðرc8B¡Ð¦Tn¼Ö²QS	@€<<<æÏŸ¯eÑT®¢Í]Ú‘šiw÷ѲuÉAC†™7oÞ‡~¨>*svvVþ³´´oôïßßÖÖVyÃÕÕO½¨	˜2TbJJ
+‡ÃQÏðüùóçÏŸãm+++“®{AEŒ»»ûÝ»wBþù§ö
+
+ݳg®“]»víÚµËÜÜ|âĉS§N2e
+îϯÍÓ‰—{öìþ=1<òÄPá¯5¤R©@ PN‹ÅÊöêÕK}¹Šºõ‘Ú2Œdddœ?þÁƒþù'5ÀÖ•O_~ùåíÛ·kkkB,kçΝTÇ{mÑT®¢Í]Ú‘šiw÷i‡¶öƒââbíÇòŸÍÍÍêUƒ122Â-~"S¥aÔill¤ò(WqW r~ª,‰Dû~òÉ'666'Ožüí·ßp:ŸÏ?þüùóç'MštìØ1ƒñÚ<x9üa„PïÞ½•Ï£òg÷ðÍ7ß|÷ÝwÔpÔ¨QvvvW®\iÓsKËœb±˜ªF¹\NÕC;®¢Í]Ú‘jiw÷é,mDW7¼¹¹9Þ¨¨¨J¥Êo=^¼x¡’GjDðÁ|õÕWêÆÓ§O©åw’$©èÛØ؈oddDÕcGPYا”÷ïß_ûÒéôyóæÍ›7ïåË—ÉÉÉÉÉÉøQyëÖ­´´4??¿×æ¡#¿µ$VUU¥P(¨§hyy¹æÚX´hÑ¢E‹:ñ&)))ÁсÅbíÙ³gòäÉyyym
+ZB’ä†
+¨a‚L&[³fMRRîùm-š6wéé>¥­Ë¿¬ekkkjjŠcaRR’ò+z<JGQïÛ•1bÞ(..f)ñàÁƒëׯ_¿~½¢¢bðàÁøÅ
+5UC­]»ÖÅÅÅÅÅåÒ¥KRŠË—/Sƒ^‘HD­»ººjYÀ¢¢¢C‡:t(99ÙÊÊjÑ¢E?ÿüsnnîÈ‘#©bj“§/GÕžP(LMM¥Nuîܹn><xð€š»bUÔëÀÎåÂ…)))8¸ãÚxüøñþýûÛw6mîÒ7Ò}:K[—ƒJ­²ðx<…BQ\\üÑGá¡‘ƒƒC‹%ôðð0`
+n•“…Âàà`õ‹ž:uÊÝÝ}ìرGŽÑr—–¥ÖÐFß}÷ý?ØÚÚ†……)ï4hÐÈ‘#ñù]]]:~[ksÃr8ål¹¹¹çìÙ³Zž°Åš×7ÈVxþüù˜1cð¶T*
+ûá‡Ô³	‚òòòôôô%K–(§ïÙ³§ÅüZ¢rx}}½–Ǫg¦R233-ZÔV1/^ÄGiY'Ú •J§L™ÓÐРP(òòò¼½½Ož<I’dEEň#°ÏhCCCHHHBB‚\.		Ù°aC]]I’ååå3gÎ<pà
+_¼x±··÷Œ34þñÇ—••­[·!tàÀÈÈH±XÌçóçÌ™3~üx//¯[·n©dV?¼®®nÁ‚ãǏŸ1c~ªœPËÀJÕ	I’±±±^^^[·n%IR]’zʵk×
+
+cbbŒi4ÚèÑ£÷íÛ·sçN’$«««Ùl¶µµ5BÈØØø«¯¾²··¿wï^]]ÝÖ­[±Mž••U||üœ9sðsjŒ]HHˆºæÔÔÔ€€€~ýú™ššN›6Çãi³«ÅR«×UÉêmM~ûöm&“9~üøÖj•Ëå²ÙìÚÚZõógee………ÍŸ?ßÕÕ5**jÆ
+~~~þþþ555êM á†Q¾œD"Á&×$IÞºu»=«:aVVÖ²eËf̘±mÛ6\ógÎœYºt)BèÁƒÓ§O§\àõ
+¢ªªŠËår¹ÜQ£FÕÔÔPF­qìرšššÌÌÌsçÎa;Š‚‚‚¦¦¦;w§a'å´´´Í›7ß¹sÇÔÔ455UÃá;vì°¶¶Ž‹‹ËÈÈÈÌÌäñxééé,ëÇLLL2dȽ{÷öìÙsãÆ
+åÌê‡#„?~¼mÛ¶»wïöéÓ'--Mý„šË¨^'×®]ËÌÌLMMåñxYYYÉÉÉê’ÔSrss'Nœ¨lçää$•J_¾|9räH___ooï5kÖ$&&öíÛ×ÕÕ577»û"„víÚÅårǍ·páÂEN˜0ÁÇÇG=½¢¢‚Ãáàm‡óòåKmvµXjõz£*¹Å¶Æ½nûöíŸ|ò‰†ê½ÿ¾©©)‡Ãi±]?~¼ÿþÔÔÔÄÄÄ€€
+žžžt:].—óùüƒÑb»8;;›˜˜ „LMM½½½q,“ÉdØ+P¹	(«Û׶ïôéÓ—/_¾dÉ’K—.ݹsGC0®®®\.W¹ê¾ùæ›É“'/]ºtøðáoã[:>}út•a¿D"QÏÖÚ
+Çãñð4þÝwßurr‰¸Eµ9œB¡P,X° 11111ñäÉ“Ë—/wwwONNvvv¾|ù2žOj.‹æR»"##ÿýw¤ä§üÚ:¡Ñh
+…B]’zŠ‹‹Kjjª²Zì¹ÊápðÄÈÈhÒ¤I›6múî»ï:4zôèÔÔTe%YYYmmlKKËÊÊJjÈ ìW®aW‹¥ÖPo-¶5B觟~úàƒZ<mFFF^^Þ£G.^¼ˆ£a‹çW¾CÔ#¬rhÓ¾Ô)B¨´´ôöíÛþþþš‹€Qw¾£¼¼ü-}ÍI’dJJÊðáÃ	‚(++#I²¶¶öîÝ»êρøøx™LV__éÒ%å]999Ó§O
+
+åp8ÅÅÅ-vc
+‡c
+!//¯3gÎà‹ˆˆˆœœœ-[¶>|8(((&&¦¨¨{õó·8ÔO¨<®ÎÌÌD=|øPÝË›ªsçΉÅb±Xœ˜˜ˆÇ*’ÔS¦L™"‘H¾úê«ÆÆF<¦]±bźuëètzÿþýwìØQTT„‡åiiiC‡õññ122ŠŽŽÆë&yyyûöíÓ²
+ÅŸþ)“É&NœxëÖ-@ÐÔÔtýúu???mvµXêë
+Wr‹m]UU…gOš¥Ž;öÕ«W$IjhuÔ›@Ã
+£~xPPЗ_~9räHì®ÖZZ»…d2Ùúõëããã?~œ‘‘¡g‚xí|W­­íÁƒûöíKÄøñãmll|}}Uò‡……åçç»»»›ššª,D…„„,Y²$%%ÅÚÚÚËË+&&fÆ
+ÚÎf³årùÊ•+wïÞ@£Ñ‚‚‚Þ}÷Ý#FDDD$$$M•yÏž=*‡«¼`CùúúªœÚõÙgŸ­^½úÀ–––h­N8΃ðœ?88xêÔ©NNN*’.\¨’‚:}úôÖ­[}||¤RiÿþýW¬X1kÖ,„И1c>þøãE‹Õ××ÓéôqãÆmݺ•N§Ÿ8qbË–-ÞÞÞt:ÝÑÑñèÑ£Ô4X3"‘h„	¹¹¹666«W¯$IrÑ¢EC‡mll|í®ÖJ­RoxýråÊ•k×®UiësçÎݹsgìرš'2øùobb’““£Þ.¿þúkkGM›6M¥	(1ê7L‹bóæÍÊËê·ëÏ?ÿÜÚ-´oß>www.—»}ûö•+W^¿~
+4z
+B'Nttt<yò$5„Ù·oߘ1cìììÂÃï^½ÊápF…Çäx@Ží˜B§N¢öR—>þü¦M›†ZQQQVV¶lÙ2'''kkëQ£F…‡‡—––b%			¡«W¯ÚÛÛãÃU”´»˜­áè舢ìäp€1b„rž6	V/¯r.^¼ˆ«Çb‡ÿ<tèô =#ˆ’’ìV†½$1S¦LÉÎÎFõíÛ!´gÏžíÛ·#„ŒB¹¹¹Ë—/¯¬¬\ºt)uHlllCCA2™ìÚµk¡Ã‡Ïœ9S¡PäääôïßöìÙæææêâââ¾ýö[„‹ÅºzõªwÆÖ8|øðo¿ý†jnnž7o^qq1“Éäp8•••W¯^-,,LMM9s¦@ (,,Ä=¿Å󴻘V"ž<y‚KD’äƒú÷ï?hРüü|œA*•Î™3§­‚©òªðþûïŸ?>%%%..îý÷ß߶mBÈÅÅeñâÅЀöŒ (/s‡ÿQÂÒÒÒÒÒÒÀÀ ¦¦&..!4þüüüüGÍž=!ôÍ7ß444P‡<877·¨¨(44!tëÖ-’$,X€z---?û쳨¨­­ÅÖ‹/~úôiZZZ;f4EEE›6m:vìXQQQqq1A™™™?ÿü3Þ[YY¹`Álñîèè¨n)ŒêH1[Æf³œœ
+Aii)ŸÏWñ¶ÍÎÎn‡`ª¼fffÊé4mûöí½{÷.++[¸páãǏ	‚ˆ‹‹c0Ѐv.RR³åÖveddÈd2ƒñùçŸÁd27n܈‹ÅÊOû?üpÀ€Aàõy‰D"—Ë_{Ýôôt©TJĆ
+‚xçwV®\ÙÖâ­X±bÉ’%“'Oöññ)((¸ÿ~iié‰'ðì!¤boߝÅ;v¬B¡ÈÍÍÅó‹±cǪìm‡`ª¼l6[e—¥¥ett4B(--
+!´fÍšaÆA
+•gà,‹}h¯ìÕ«WÔ	©iv[‹7hÐ *ÌmÛ¶íÔ©S2™Œ jê®
+]TL77·C‡ýúë¯øücÇŽ}ðàr\n‡`ª¼-2gÎœíÛ·óù|&“ùÑGÁÝ´aoo?pà@„ÐÏ?ÿ¬¼´ž’’òÑG}ôÑGµµµxá€Ïçª/	…B„PŸ>}:¨ÌÔÔŸ\,ã”çÏŸ«g£´I$õ½Ô ýâŋǏ722:wî\QQ^Õ’.*&»ÙÙÙ999L&ÓÙÙYyoû+ORÔùñÇñçM¤R)5$€ö:ÊÊÊZµjUaaaMMMRRÒ矎>|ø°aÃ<==	‚Ëå[·n•Ëå2™,66?KǍ×Ae¸ÿ477ÇÅÅÉåòçÏŸïÙ³Gùqç>ÿýïåryeeåéÓ§5œ
+¿s1333fNÇSz¤Ri‹ÇvQ1`kk›]PP0zôhƒÎÜ"%%%xõ_`§ÂL
+…C‡ÇøIII¡E‹9;;Ëåò'Ož´xx“ZÜQ¬B|||FFBè³Ï>#a¢¼fÒªáUœ®qóæÍ?üÐÜܼS>è
+
+¦
+_¼x±··÷Œ3>þøã²²²uëÖåæænÙ²%+++,,lþüù®®®QQQ6lðóóó÷÷¯©©A8pÀÇÇÇÃÃ#22R,«_=??ÿ‹/¾@L™2ÅÅÅ%""B$‘$ëáááååµuëV’$ù|þœ9sƏïååuëÖ-„zJqq±\.7nÜþó’$SSSúõëgjj:mÚ4‡²³³		ÑP']­J]C‹:»TUJJŠ¯¯¯AG?~¼ºÝT¥M£3III‰‰‰‰ŠŠjqoZZÚæÍ›ïܹcjjšššºcÇkkkåñäãǏ÷ïߟššš˜˜Àãñ†’–––‘‘‘™™ÉãñÒÓÓY,֏?þ¨AÃÇO:õ믿ÊåòC‡]»v-33355•Çãeee%'''&&2äÞ½{{öìÁåê)õõõÞÞÞ/^LJJºzõjRRREE‡ÃÁ—àp8/_¾DM˜0ÁÇÇG›šé"UêZÔÙ¥ªJJJD"Q`` »»û¶mÛ
+
+Õ5親6µ NAôÐ
+)»6›Ýâb$ÞÀm¬©Øtz‹Û
+…bÁ‚‰‰‰‰‰‰'Ož\¾|¹6bh4ƒÁPIQ(îîîÉÉÉÎÎΗ/_&IR=%//ïÙ³gø(&“I„¥¥eee%õ”¶²²j_u®*õó·OgGTõë×/  `À€†††¿ÿþ»ºÝTâÍ
+¢¬¬¯ݽ{WÃZ¬6góòò:sæLCCƒT*ˆˆÈÉÉѐ9))‰ÏçËd²ãǏ{{{{xxœ;wN,‹ÅâÄÄDü„9|øpPPPLLLQQ‘\.WOyòäÉƍ¥R©X,>{öl@@Àĉoݺ%ššš®_¿îççצ
+é"Uêj“ÎNQåççwûö톆™L–œœ<zôhu
+º©ª÷¯ž ÆŽKÄøñãmll|}}[nÈåò•+WΞ=[óÙ|}}ƒ‚‚h4ZPPлᆱ!³‡‡Ç¬Y³þúë/__ß…ñàÁ<Ïž:uª““SDDDBBAÑÑÑA,\¸P%%444??üøñt:=,,ßL«W¯$IrÑ¢EC‡mS…t*lll´×Ù)ªæïïO£ÑæÍ›G„ºÝTÕSy^sv•×QwïÞ]´hѯ
+P¥gªà5§>ðôéÓµk×êÚ TõtU0ÅÐ233A¨zK€
+]û…P¥ª¦L™Ò#´Vy³1K7 TõtU0Å
+¦í„ß úäÇ_kq?„HJâåå5"ò¹€Æ22Úøý­ßŸ½z{”€*}R¢CìOÌëÐ[$%ÍzÑlúþýϬͼ7ÃЀÆ00(¨IYÆÇn—òDo‰P¥Oª @´Ÿ½	Y¶ö^ÕÊØLš1õ3¦ÿýÏäïv5íEGUÕ‰Bq'3Þ% JŸTé[€è»-)*ã#vù_26£Ÿ	êgL7ïM·îË0ïM76¤ÿ³œdĤ1è´‚g¯ÌM{½”£ßJ@•>©êfºc‘ÒÍÍ­Û>1vúÆ£Öý‘P®œØß„QÝ Gˆ.“l&bˆa` Wˆ{÷fg?olªçJ@•>©Òõ„Š¯ŒL&‹ŠŠruuõ÷÷ŒŒ<t萺“
+eW£âg£îSræÌ™¥K—"„<x0}út™LÖŽ"½äËÄÍÿç³.Õ
+r„_¨PNdÐiB¡¨¸´JÊ2î¢ÊÕ% JŸTén€P÷•9}útyyùýû÷ϝ;—••¥ùp?uŸ’Ù³g‚«W¯nܸqçΝ-þÚºf؆¬êú¿í°"$“|¡¢IB–ÕÊB5
+¤HJJdHÞÜ,WüÝðL‰ +– uG	¨Ò'U:=ÅP÷•ÉËË›?>“É433
+
+Ò|¸ŠŸM^^žŠOÉ{ï½÷Í7ßLž<yéҥÇokaø
+"©¡‘èU½ÄˆÅÊb „$RR &%RR B¡F±¼¾IÑ(%››¥Ô?1x@'V«î(Uú¤J×ö•Á³
+EB¡H$n®®©
+EüÚzååµ(¯âwÑ7mtG	¨Ò'U:=‚ÐÌ¿ÿýo](Òç‹'¬ýOw¨EÞUH(FQHÊØ0¶6cÌ}×ãmPªôIŒ :¶¶Ô úŸ÷Ç2%uAîÖ­åáµ°1£Ûõg57UWUUé½P¥OªzêBw`ÖϟĹr¯ØßÙ!T+B’Ú²Z_Ž9»/!„ê^ú¸Ù[
+ Q÷Aýì‡î(Uú¤
+Dû‘ŠB&}̦·YÅðg}c¥À¬OßÞHRWù’Á’Žd<ÖÍÞÊÂœ:¤‹ZTw”€*}R¢CXXXX <Ø3écfeQ‡jh „211ùûÓò&}ÌÌM͘l“®kQÝQªôIˆNjZåÉ䛊ñº£Té“*‰î4¤nÞR ª§«‚
+Ö 
+Sß•‘‘Þ=ßàî
+ªô[U7Ói‹”ÍÍÍÅÅÅÙÙÙ­eèop÷Uú­ª§Ž ¢¢¢jjjV¬XÔÀqìñÝ)þÝšwoP¥ßªzd€øúë¯-,,öíÛ§î
+upå½÷ï~MàwoP¥×ªzüBÝüþýûÔÞ}ûöuÜ¿[3àî
+ªô[U,+33µä
+D‡
+„&ÀÝTé·ª7Vàî­ûWUú­
+ܽ
+ܽ!@t9ºãÈœžžþòåK33³8°¹¹!ôêÕ«ââb©TÄb±º¿~tS¸{ãËÑG榦¦øøx„••‹Å‰DÍÍÍMMM!‹„„„’’’î¬ÝTîÞ º	Ýqd>{öìðáÃår¹›Íf³Ùfff†††FFF£ªªÊÂÂ";;»¦¦¦ÛêG7U»7ˆî@w™ù出º:ƒ222266666ÆÝ’À×××›šš^¹r¥{êG7U»wÏYYY‹/>qâD\\œ.—Gw™ËËËFSS‹Å200022Â݃b0ÔOþWUUq8œÿþ÷¿]]?º©
+ܽ{|€5jÔæÍ›u¿<§o<2`«zô7aôbÑÌ{ÓYL›IûÇ‘™ÄŽÌ–×w…gnnN’$~PÓét„‰‰	“Éĝgc2™Ô»¶¶¶«ëG7UéN«é¾*
+ùùù_|ñB¨  `Ê”)..."‘ˆ$ÉØØX//¯­[·’$ÉçóçÌ™3~üx//¯[·n!„ÔS²²²ÂÂÂæÏŸïêêµaÃ???ÿšš…B±eË///Ã‡·£H:âÈlhhØØØ(‘Häòÿõ‰D!‰D‚_(#
+	‚H$]ÚÞº©
+»·Þ¬A<|øðÔ©S¿þú«\.?tèеk×233SSSy<^VVVrrrbbâ!CîÝ»·gÏž7n „ÔSB?Þ¿jjjbbb@@
+ܽu–6bÚ´i}ûöE-X°ààÁƒÕÕÕ¡¡¡xú’‘‘xäÈ6›íéé¹eË„—ËUIA9;;›˜˜ „LMM½½½BG&“¥§§‡††ѧOŸ»wï²ÙmøŠî82cƒb±XŒû~2777SOiüZ÷U™Lö÷ƒˆÁøã?ìì캨±uS¸{ëU€  Ñhx«œ¢P(ÜÝÝ“““ïܹsùò常¸+W®¨§P³ß¿‡1JÛr¹œú³®®ŽN§kÿ©>Ýqd666ÆýP*•655Ñh4¹\Î`0p?”Ëå‰D,K¥RÙ?0™L¹\>hР®klÝTîÞz ’’’V­Zebbrüøqooo++«~øaöìÙx*¾eË6›½~ýz¹\¾mÛ6•
+ç÷ôôLLLœ6mšH$š9sæ/¿üÒ¦ýRŽÌ!#ÖK¾ÌЀÆ"D†BõMŠ†F‰HÔܝŽÌR©´±±Q,³X,ü’$ñSZ9þ¿ëÔº¬J[MgUéz€ððð˜5kÖ_ýåëë»páB‚ <x€]yƒƒƒ§Nêä䑐@Dtt4A.TIÑpþß~ûÍÓÓ“ ˆåË—[Z¶ÙUG™Åb±……õ
+@*•Êår<¥§føø)-‰˜L&~¹ØÕŸnÖMUܽ{z€ÀwOXXXXX˜Ê®èèèèèhêO›«W¯*gPOqwwwwwÇÛ99¿:ÆoIB±±±±±±í+î82»¹¹R3y‚ ¨2Õ	©©¾T*µ¶¶®««ëêöÖMUàî­³hõãéÓ§k×®õóóÓýòèŽ#ó°aÃD"‘………L&«A=¥qæTVV†††vuýè¦*p÷îÙÂÁÁ!33S}ì ›èŽ#óŒ3ÊËËûõë'•JE"‘H$¢z H$¢ö}úô‘J¥ÝuS¸{÷à
\ No newline at end of file

Modified: projects/jboss-osgi/trunk/distribution/docbook/en/images/jmx-agent-view.png
===================================================================
(Binary files differ)

Modified: projects/jboss-osgi/trunk/distribution/docbook/en/modules/ch020-getting-started.xml
===================================================================
--- projects/jboss-osgi/trunk/distribution/docbook/en/modules/ch020-getting-started.xml	2010-04-15 13:45:28 UTC (rev 103999)
+++ projects/jboss-osgi/trunk/distribution/docbook/en/modules/ch020-getting-started.xml	2010-04-15 13:47:17 UTC (rev 104000)
@@ -140,7 +140,7 @@
 
 =========================================================================
 
-13:10:35,143 INFO  [OSGiBundleManager] JBossOSGi Core Framework - 1.0.0.Alpha3
+13:10:35,143 INFO  [OSGiBundleManager] JBossOSGi Core Framework - 1.0.0.Alpha4
 ...
 13:10:36,405 INFO  Start DeploymentScanner: [scandir=.../server/default/deploy,interval=2000ms]
 13:10:36,416 INFO  Bundle STARTED: Bundle{system.bundle-0.0.0}
@@ -165,20 +165,20 @@
     deployment is verified by an accompaning test case</para>
 
     <itemizedlist>
-      <listitem><emphasis role="bold">BlueprintTestCase</emphasis> - A simple Blueprint Container test</listitem>
-      <listitem><emphasis role="bold">DOMParserTestCase</emphasis> - A test that uses a DOM parser to read an XML document</listitem>
-      <listitem><emphasis role="bold">HttpServiceTestCase</emphasis> - Register servlets and resources with the HTTP Service</listitem>
-      <listitem><emphasis role="bold">InterceptorTestCase</emphasis> - Intercept and process bundle metadata</listitem>
-      <listitem><emphasis role="bold">JAXBTestCase</emphasis> - A test that uses JAXB to read an XML document</listitem>
-      <listitem><emphasis role="bold">JMXTestCase</emphasis> - Register an MBean through the JMX Service</listitem>
-      <listitem><emphasis role="bold">JNDITestCase</emphasis> - Bind objects to the Naming Service</listitem>
-      <listitem><emphasis role="bold">MicrocontainerTestCase</emphasis> - Call a service from an MC bean and vica versa</listitem>
-      <listitem><emphasis role="bold">SAXParserTestCase</emphasis> - A test that uses a SAX parser to read an XML document</listitem>
-      <listitem><emphasis role="bold">ServiceLoaderTestCase</emphasis> - Autoregister META-INF/services</listitem>
-      <listitem><emphasis role="bold">SimpleHuskyTestCase</emphasis> - Accesses a service from within the test case</listitem>
-      <listitem><emphasis role="bold">SimpleTestCase</emphasis> - A simple bundle lifecycle test</listitem>
-      <listitem><emphasis role="bold">TransactionTestCase</emphasis> - A simple transaction test</listitem>
-      <listitem><emphasis role="bold">WebAppTestCase</emphasis> - A web application (WAR) test</listitem>
+      <listitem><emphasis role="bold">blueprint</emphasis> - Basic Blueprint Container examples</listitem>
+      <listitem><emphasis role="bold">event</emphasis> - EventAdmin examples</listitem>
+      <listitem><emphasis role="bold">http</emphasis> - HttpService examples</listitem>
+      <listitem><emphasis role="bold">interceptor</emphasis> - Examples that intercept and process bundle metadata</listitem>
+      <listitem><emphasis role="bold">jmx</emphasis> - Standard and extended JMX examples</listitem>
+      <listitem><emphasis role="bold">jndi</emphasis> - Bind objects to the Naming Service</listitem>
+      <listitem><emphasis role="bold">jta</emphasis> - Transaction examples</listitem>
+      <listitem><emphasis role="bold">microcontainer</emphasis> - JBossMC/OSGi integration examples</listitem>
+      <listitem><emphasis role="bold">serviceloader</emphasis> - Autoregister META-INF/services</listitem>
+      <listitem><emphasis role="bold">simple</emphasis> - Simple OSGi examples (start here)</listitem>
+      <listitem><emphasis role="bold">webapp</emphasis> - WebApplication (WAR) examples</listitem>
+      <listitem><emphasis role="bold">xml binding</emphasis> - JBoss XML Binding examples</listitem>
+      <listitem><emphasis role="bold">xml jaxb</emphasis> - JAXB examples</listitem>
+      <listitem><emphasis role="bold">xml parser</emphasis> - SAX/DOM parser examples</listitem>
     </itemizedlist>
     
   </sect1>
@@ -234,26 +234,14 @@
     <para>If in future we should discover a problem with a previous JBoss OSGi release, it will be possible to provide a patch and verify that change using 
     the original QA environment for that release.</para>
      
-    <para>With every release we test the matrix of supported target containers, frameworks and JDKs.</para>
+    <para>With every release we test the matrix of supported target containers and frameworks</para>
     
     <mediaobject>
       <imageobject>
-        <imagedata fileref="images/hudson-matrix-felix.png"/> 
+        <imagedata fileref="images/hudson-matrix.png"/> 
       </imageobject>
     </mediaobject>
   
-    <mediaobject>
-      <imageobject>
-        <imagedata fileref="images/hudson-matrix-equinox.png"/> 
-      </imageobject>
-    </mediaobject>
-  
-    <mediaobject>
-      <imageobject>
-        <imagedata fileref="images/hudson-matrix-jbossmc.png"/> 
-      </imageobject>
-    </mediaobject>
-  
     <emphasis role="bold">Set Hudson Properties</emphasis>
 
     <para>You need to set a few properties, especially these</para>
@@ -278,7 +266,7 @@
 
 #hudson.jboss501.zip=file:///home/username/Download/java/jboss/jboss-5.0.1.GA.zip
 #hudson.jboss510.zip=file:///home/username/Download/java/jboss/jboss-5.1.0.GA.zip
-#hudson.jboss600.zip=file:///home/username/Download/java/jboss/jboss-6.0.0.M1.zip
+#hudson.jboss600.zip=file:///home/username/Download/java/jboss/jboss-6.0.0.M2.zip
 
 # JDK settings
 java.home.jdk15=/usr/java/jdk1.5.0_22

Modified: projects/jboss-osgi/trunk/distribution/docbook/en/modules/ch030-runtime.xml
===================================================================
--- projects/jboss-osgi/trunk/distribution/docbook/en/modules/ch030-runtime.xml	2010-04-15 13:45:28 UTC (rev 103999)
+++ projects/jboss-osgi/trunk/distribution/docbook/en/modules/ch030-runtime.xml	2010-04-15 13:47:17 UTC (rev 104000)
@@ -72,8 +72,7 @@
       </listitem>
       
       <listitem><emphasis role="bold">Local and Remote JMX Support</emphasis> - 
-      There is local as well as remote support for JMX. Similar to <ulink url="http://http://jboss.org/jbossas">JBossAS</ulink> 
-      the JMXAdaptor (which provides the MBeanServerConnection) is bound to JNDI.
+      There is local as well as remote JSR160 support for JMX. 
       </listitem>
       
       <listitem><emphasis role="bold">JNDI Support</emphasis> -
@@ -151,7 +150,7 @@
 
 =========================================================================
 
-12:10:48,713 INFO  JBossOSGi Core Framework - 1.0.0.Alpha3
+12:10:48,713 INFO  JBossOSGi Core Framework - 1.0.0.Alpha4
 12:10:49,089 INFO  Bundle INSTALLED: Bundle{osgi.cmpn:4.2.0.200908310645}
 12:10:49,188 INFO  Bundle INSTALLED: Bundle{org.apache.felix.log:1.0.0}
 12:10:49,282 INFO  Bundle INSTALLED: Bundle{jboss-osgi-common:1.0.2}
@@ -181,6 +180,7 @@
     <para>These additional bundles are installed:</para>
   
     <itemizedlist>
+      <listitem><emphasis role="bold">org.apache.aries.jmx.jar</emphasis> - Apache Aries JMX services</listitem>
       <listitem><emphasis role="bold">org.apache.felix.eventadmin.jar</emphasis> - Apache Event Admin service</listitem>
       <listitem><emphasis role="bold">jboss-osgi-common-core.jar</emphasis> - JBoss Common Core functionality</listitem>
       <listitem><emphasis role="bold">jboss-osgi-jmx.jar</emphasis> - JBoss OSGi JMX service</listitem>

Modified: projects/jboss-osgi/trunk/distribution/docbook/en/modules/ch050-developer-guide.xml
===================================================================
--- projects/jboss-osgi/trunk/distribution/docbook/en/modules/ch050-developer-guide.xml	2010-04-15 13:45:28 UTC (rev 103999)
+++ projects/jboss-osgi/trunk/distribution/docbook/en/modules/ch050-developer-guide.xml	2010-04-15 13:47:17 UTC (rev 104000)
@@ -29,9 +29,9 @@
       <listitem><ulink url="http://jbmuc.dyndns.org/jboss-osgi-1.0.0.Beta7/apidocs/org/jboss/osgi/spi/package-summary.html">org.jboss.osgi.spi</ulink> - Common classes and interfaces.</listitem>
       <listitem><ulink url="http://jbmuc.dyndns.org/jboss-osgi-1.0.0.Beta7/apidocs/org/jboss/osgi/spi/capability/package-summary.html">org.jboss.osgi.spi.capability</ulink> - Capabilities that can be installed in the OSGi framework.</listitem>
       <listitem><ulink url="http://jbmuc.dyndns.org/jboss-osgi-1.0.0.Beta7/apidocs/org/jboss/osgi/spi/framework/package-summary.html">org.jboss.osgi.spi.framework</ulink> - Framework integration and bootstrap.</listitem>
-      <listitem><ulink url="http://jbmuc.dyndns.org/jboss-osgi-1.0.0.Beta7/apidocs/org/jboss/osgi/spi/management/package-summary.html">org.jboss.osgi.spi.management</ulink> -  Management view on deployed bundles.</listitem>
       <listitem><ulink url="http://jbmuc.dyndns.org/jboss-osgi-1.0.0.Beta7/apidocs/org/jboss/osgi/spi/service/package-summary.html">org.jboss.osgi.spi.service</ulink> -  A collection of SPI provided services.</listitem>
       <listitem><ulink url="http://jbmuc.dyndns.org/jboss-osgi-1.0.0.Beta7/apidocs/org/jboss/osgi/spi/util/package-summary.html">org.jboss.osgi.spi.util</ulink> -  A collection of SPI provided utilities.</listitem>
+      <listitem><ulink url="http://jbmuc.dyndns.org/jboss-osgi-1.0.0.Beta7/apidocs/org/jboss/osgi/testing/package-summary.html">org.jboss.osgi.testing</ulink> -  Test support classes and interfaces.</listitem>
     </itemizedlist>
     
     <emphasis role="bold">Bootstrapping JBoss OSGi</emphasis>
@@ -86,30 +86,15 @@
   <sect1 xml:id="SecJMXView">  
     <title>Management View</title>
     
-    <para>JBoss OSGi registers the Framework and every deployed Bundle with the JMX <ulink url="http://java.sun.com/j2se/1.5.0/docs/api/javax/management/MBeanServer.html">MBeanServer</ulink>.</para>
+    <para>JBoss OSGi provides standard <ulink url="http://www.osgi.org/javadoc/r4v42/org/osgi/jmx/package-frame.html">org.osgi.jmx</ulink> management.
+    Additional to that we provide an <ulink url="http://java.sun.com/j2se/1.5.0/docs/api/javax/management/MBeanServer.html">MBeanServer</ulink> service 
+    and a few other extensions through the <ulink url="http://jbmuc.dyndns.org/jboss-osgi-1.0.0.Beta7/apidocs/org/jboss/osgi/jmx/package-summary.html">
+    org.jboss.osgi.jmx</ulink> API</para>
     
-    <emphasis role="bold">The ManagedFramework</emphasis>
-    
-    <para>The <ulink url="http://jbmuc.dyndns.org/jboss-osgi-1.0.0.Beta7/apidocs/org/jboss/osgi/spi/management/ManagedFrameworkMBean.html">
-    ManagedFramework</ulink> gives you access to the MBean views of the deployed Bundles. It is registerd under the name:</para>
-    
-    <itemizedlist>
-      <listitem><emphasis role="bold">jboss.osgi:service=ManagedFramework</emphasis></listitem>
-    </itemizedlist>
-    
-    <emphasis role="bold">The ManagedBundle</emphasis>
-
-    <para>The <ulink url="http://jbmuc.dyndns.org/jboss-osgi-1.0.0.Beta7/apidocs/org/jboss/osgi/spi/management/ManagedBundle.html">
-    ManagedBundle</ulink> gives you access to the MBean views of a deployed Bundle. It is registerd under the name:</para>
-    
-    <itemizedlist>
-      <listitem><emphasis role="bold">jboss.osgi:id=[BundleId],sname=[SymbolicName],version=[Version]</emphasis></listitem>
-    </itemizedlist>
-    
     <emphasis role="bold">Accessing the Management Objects</emphasis>
     
-    <para>If you work with the JBoss OSGi Testsuite you get access to these managed objects through the  
-    <ulink url="http://junit.sourceforge.net/">JUnit</ulink> support package <ulink url="http://jbmuc.dyndns.org/jboss-osgi-1.0.0.Beta7/apidocs/org/jboss/osgi/testing/package-summary.html">org.jboss.osgi.testing</ulink>.
+    <para>If you work with the JBoss OSGi runtime abstraction you get access to these managed objects through 
+    <ulink url="http://jbmuc.dyndns.org/jboss-osgi-1.0.0.Beta7/apidocs/org/jboss/osgi/testing/OSGiRuntime.html">OSGiRuntime</ulink>.
     </para> 
     
     <para>If you install JBoss OSGi in an already existing JBossAS instance you also get access to the Managed Objects through the JBoss provided

Modified: projects/jboss-osgi/trunk/distribution/docbook/en/modules/ch070-provided-bundles.xml
===================================================================
--- projects/jboss-osgi/trunk/distribution/docbook/en/modules/ch070-provided-bundles.xml	2010-04-15 13:45:28 UTC (rev 103999)
+++ projects/jboss-osgi/trunk/distribution/docbook/en/modules/ch070-provided-bundles.xml	2010-04-15 13:47:17 UTC (rev 104000)
@@ -36,6 +36,23 @@
     <para>An example of how a bundle uses the HttpService to register servlet and resources is given in 
     <link linkend="SecHTTPServiceExample">HttpService Example</link>.</para>
     
+    <para>The HttpService is configured with these properties.</para>
+    
+    <table>
+      <tr><th>Key</th><th>Value</th><th>Description</th></tr>
+      <tr valign="top">
+        <td>org.osgi.service.http.port</td>
+        <td>8090</td>
+        <td>The property that sets the port the HttpService binds to</td>
+      </tr>
+    </table>
+    
+    <para>The service is registered with the Framework under the name</para>
+    
+    <itemizedlist>
+      <listitem><emphasis role="bold"><ulink url="http://www.osgi.org/javadoc/r4v42/org/osgi/service/http/HttpService.html">org.osgi.service.http.HttpService</ulink></emphasis></listitem>
+    </itemizedlist>
+    
   </sect1>
   
   <sect1 xml:id="SecBundleJAXB">  
@@ -58,8 +75,10 @@
     
     <para>The JBoss OSGi <emphasis role="bold">jboss-osgi-jmx.jar</emphasis> bundle activator discovers and registers the 
     <ulink url="http://java.sun.com/javase/6/docs/api/javax/management/MBeanServer.html">MBeanServer</ulink> with the framework.
-    It also tracks the naming service and binds the RMIAdaptor into JNDI for remote JMX access</para>
+    By default, it also sets up a remote connector at:</para>
 
+    <para><emphasis role="bold">service:jmx:rmi://localhost:1198/jndi/rmi://localhost:1090/osgi-jmx-connector</emphasis></para>
+    
     <para>The JMX Service is configured with these properties.</para>
     
     <table>
@@ -67,17 +86,17 @@
       <tr valign="top">
         <td>org.jboss.osgi.jmx.host</td>
         <td>localhost</td>
-        <td>The property that sets the host that the RMIAdaptor binds to</td>
+        <td>The property that sets the host that the JMXConnector binds to</td>
       </tr>
       <tr valign="top">
-        <td>org.jboss.osgi.jmx.port</td>
-        <td>1098</td>
-        <td>The property that sets the port that the RMIAdaptor binds to</td>
+        <td>org.jboss.osgi.jmx.rmi.port</td>
+        <td>1198</td>
+        <td>The property that sets the port that the JMXConnector binds to</td>
       </tr>
       <tr valign="top">
-        <td>org.jboss.osgi.jmx.rmi.adaptor</td>
-        <td>jmx/invoker/RMIAdaptor</td>
-        <td>The property that sets the JNDI name the RMIAdaptor binds to</td>
+        <td>org.jboss.osgi.jmx.rmi.registry.port</td>
+        <td>1090</td>
+        <td>The property that sets the port that the RMI Registry binds to</td>
       </tr>
     </table>
     
@@ -85,8 +104,10 @@
     
     <itemizedlist>
       <listitem><emphasis role="bold"><ulink url="http://java.sun.com/javase/6/docs/api/javax/management/MBeanServer.html">javax.management.MBeanServer</ulink></emphasis></listitem>
-      <listitem><emphasis role="bold"><ulink url="http://jbmuc.dyndns.org/jboss-osgi-1.0.0.Beta7/apidocs/org/jboss/osgi/spi/management/ManagedBundleService.html">org.jboss.osgi.spi.management.ManagedBundleService</ulink></emphasis></listitem>
-      <!-- https://jira.jboss.org/jira/browse/JBOSGI-125 -->
+      <listitem><emphasis role="bold"><ulink url="http://jbmuc.dyndns.org/jboss-osgi-1.0.0.Beta7/apidocs/org/jboss/osgi/jmx/FrameworkMBeanExt.html">org.jboss.osgi.jmx.FrameworkMBeanExt</ulink></emphasis></listitem>
+      <listitem><emphasis role="bold"><ulink url="http://jbmuc.dyndns.org/jboss-osgi-1.0.0.Beta7/apidocs/org/jboss/osgi/jmx/BundleStateMBeanExt.html">org.jboss.osgi.jmx.BundleStateMBeanExt</ulink></emphasis></listitem>
+      <listitem><emphasis role="bold"><ulink url="http://jbmuc.dyndns.org/jboss-osgi-1.0.0.Beta7/apidocs/org/jboss/osgi/jmx/PackageStateMBeanExt.html">org.jboss.osgi.jmx.PackageStateMBeanExt</ulink></emphasis></listitem>
+      <listitem><emphasis role="bold"><ulink url="http://jbmuc.dyndns.org/jboss-osgi-1.0.0.Beta7/apidocs/org/jboss/osgi/jmx/ServiceStateMBeanExt.html">org.jboss.osgi.jmx.ServiceStateMBeanExt</ulink></emphasis></listitem>
     </itemizedlist>
     
   </sect1>

Modified: projects/jboss-osgi/trunk/distribution/docbook/en/modules/ch080-provided-examples.xml
===================================================================
--- projects/jboss-osgi/trunk/distribution/docbook/en/modules/ch080-provided-examples.xml	2010-04-15 13:45:28 UTC (rev 103999)
+++ projects/jboss-osgi/trunk/distribution/docbook/en/modules/ch080-provided-examples.xml	2010-04-15 13:47:17 UTC (rev 104000)
@@ -13,8 +13,8 @@
     integrated in our <ulink url="http://www.jboss.org/community/docs/DOC-13275">Maven Build Process</ulink> 
     and <ulink url="http://www.jboss.org/community/docs/DOC-13420">Hudson QA Environment</ulink>.</para>
     
-    <para>The examples can be either run against an embedded OSGi runtime or against
-    a remote OSGi runtime. Here is how you build and run the against the embedded runtime.</para>
+    <para>The examples can be either run against an embedded OSGi framework or against
+    the remote OSGi Runtime. Here is how you build and run the against the embedded framework.</para>
     
     <programlisting>
 [tdiesler at tddell example]$ mvn test
@@ -51,8 +51,8 @@
       <listitem>runtime</listitem>
       <listitem>jboss501</listitem>
       <listitem>jboss510</listitem>
-      <listitem>jboss520</listitem>
       <listitem>jboss600</listitem>
+      <listitem>jboss601</listitem>
     </itemizedlist>
 
     <para>To run the examples against a different OSGi Framework, you need to define the

Deleted: projects/jboss-osgi/trunk/testsuite/example/src/test/java/org/jboss/test/osgi/example/enterprise/jmx/JMXEnterpriseTestCase.java
===================================================================
--- projects/jboss-osgi/trunk/testsuite/example/src/test/java/org/jboss/test/osgi/example/enterprise/jmx/JMXEnterpriseTestCase.java	2010-04-15 13:45:28 UTC (rev 103999)
+++ projects/jboss-osgi/trunk/testsuite/example/src/test/java/org/jboss/test/osgi/example/enterprise/jmx/JMXEnterpriseTestCase.java	2010-04-15 13:47:17 UTC (rev 104000)
@@ -1,101 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.test.osgi.example.enterprise.jmx;
-
-//$Id: JMXTestCase.java 95465 2009-10-23 05:59:57Z thomas.diesler at jboss.com $
-
-import static org.junit.Assert.assertFalse;
-import static org.junit.Assert.assertNotNull;
-
-import javax.management.MBeanServerConnection;
-import javax.management.ObjectName;
-import javax.management.openmbean.TabularData;
-
-import org.jboss.osgi.jmx.JMXCapability;
-import org.jboss.osgi.jmx.MBeanProxy;
-import org.jboss.osgi.jmx.ObjectNameFactory;
-import org.jboss.osgi.testing.OSGiRuntime;
-import org.jboss.osgi.testing.OSGiRuntimeHelper;
-import org.jboss.osgi.testing.OSGiRuntimeTest;
-import org.junit.AfterClass;
-import org.junit.BeforeClass;
-import org.junit.Test;
-import org.osgi.jmx.framework.BundleStateMBean;
-
-/**
- * A test that deployes a bundle that registeres an MBean
- * 
- * @author thomas.diesler at jboss.com
- * @since 15-Feb-2010
- */
-public class JMXEnterpriseTestCase extends OSGiRuntimeTest
-{
-   private static OSGiRuntime runtime;
-   
-   private BundleStateMBean bundleState;
-
-   @BeforeClass
-   public static void setUpClass() throws Exception
-   {
-      OSGiRuntimeHelper helper = new OSGiRuntimeHelper();
-      runtime = helper.getDefaultRuntime();
-      runtime.addCapability(new JMXCapability());
-   }
-
-   @AfterClass
-   public static void tearDownClass() throws Exception
-   {
-      runtime.shutdown();
-      runtime = null;
-   }
-
-   @Test
-   public void testBundleStateMBean() throws Exception
-   {
-      BundleStateMBean bundleState = getBundleStateMBean();
-      assertNotNull("BundleStateMBean not null", bundleState);
-      
-      TabularData bundleData = bundleState.listBundles();
-      assertNotNull("TabularData not null", bundleData);
-      assertFalse("TabularData not empty", bundleData.isEmpty());
-   }
-
-   private BundleStateMBean getBundleStateMBean() throws Exception
-   {
-      if (bundleState == null)
-      {
-         int timeout = 5000;
-         MBeanServerConnection mbeanServer = runtime.getMBeanServer();
-         ObjectName objectName = ObjectNameFactory.create(BundleStateMBean.OBJECTNAME);
-         while (bundleState == null && 0 < (timeout -= 200))
-         {
-            if (mbeanServer.isRegistered(objectName))
-            {
-               bundleState = MBeanProxy.get(mbeanServer, objectName, BundleStateMBean.class);
-               break;
-            }
-            Thread.sleep(200);
-         }
-      }
-      return bundleState;
-   }
-}
\ No newline at end of file

Copied: projects/jboss-osgi/trunk/testsuite/example/src/test/java/org/jboss/test/osgi/example/jmx/JMXMBeanServerTestCase.java (from rev 103999, projects/jboss-osgi/trunk/testsuite/example/src/test/java/org/jboss/test/osgi/example/jmx/JMXTestCase.java)
===================================================================
--- projects/jboss-osgi/trunk/testsuite/example/src/test/java/org/jboss/test/osgi/example/jmx/JMXMBeanServerTestCase.java	                        (rev 0)
+++ projects/jboss-osgi/trunk/testsuite/example/src/test/java/org/jboss/test/osgi/example/jmx/JMXMBeanServerTestCase.java	2010-04-15 13:47:17 UTC (rev 104000)
@@ -0,0 +1,74 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.osgi.example.jmx;
+
+//$Id$
+
+import static org.jboss.test.osgi.example.jmx.bundle.FooMBean.MBEAN_NAME;
+import static org.junit.Assert.assertEquals;
+
+import org.jboss.osgi.jmx.JMXCapability;
+import org.jboss.osgi.jmx.MBeanProxy;
+import org.jboss.osgi.jndi.JNDICapability;
+import org.jboss.osgi.testing.OSGiBundle;
+import org.jboss.osgi.testing.OSGiRuntime;
+import org.jboss.osgi.testing.OSGiRuntimeHelper;
+import org.jboss.test.osgi.example.jmx.bundle.FooMBean;
+import org.junit.AfterClass;
+import org.junit.BeforeClass;
+import org.junit.Test;
+
+/**
+ * A test that deployes a bundle that registeres an MBean
+ * 
+ * @author thomas.diesler at jboss.com
+ * @since 12-Feb-2009
+ */
+public class JMXMBeanServerTestCase
+{
+   private static OSGiRuntime runtime;
+
+   @BeforeClass
+   public static void setUpClass() throws Exception
+   {
+      runtime = new OSGiRuntimeHelper().getDefaultRuntime();
+      runtime.addCapability(new JNDICapability());
+      runtime.addCapability(new JMXCapability());
+   }
+
+   @AfterClass
+   public static void tearDownClass() throws Exception
+   {
+      runtime.shutdown();
+      runtime = null;
+   }
+
+   @Test
+   public void testMBeanAccess() throws Exception
+   {
+      OSGiBundle bundle = runtime.installBundle("example-jmx.jar");
+      bundle.start();
+
+      FooMBean foo = (FooMBean)MBeanProxy.get(runtime.getMBeanServer(), MBEAN_NAME, FooMBean.class);
+      assertEquals("hello", foo.echo("hello"));
+   }
+}
\ No newline at end of file

Copied: projects/jboss-osgi/trunk/testsuite/example/src/test/java/org/jboss/test/osgi/example/jmx/JMXStandardTestCase.java (from rev 103999, projects/jboss-osgi/trunk/testsuite/example/src/test/java/org/jboss/test/osgi/example/enterprise/jmx/JMXEnterpriseTestCase.java)
===================================================================
--- projects/jboss-osgi/trunk/testsuite/example/src/test/java/org/jboss/test/osgi/example/jmx/JMXStandardTestCase.java	                        (rev 0)
+++ projects/jboss-osgi/trunk/testsuite/example/src/test/java/org/jboss/test/osgi/example/jmx/JMXStandardTestCase.java	2010-04-15 13:47:17 UTC (rev 104000)
@@ -0,0 +1,74 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.osgi.example.jmx;
+
+//$Id: JMXTestCase.java 95465 2009-10-23 05:59:57Z thomas.diesler at jboss.com $
+
+import static org.junit.Assert.assertFalse;
+import static org.junit.Assert.assertNotNull;
+
+import javax.management.openmbean.TabularData;
+
+import org.jboss.osgi.jmx.JMXCapability;
+import org.jboss.osgi.testing.OSGiRuntime;
+import org.jboss.osgi.testing.OSGiRuntimeHelper;
+import org.jboss.osgi.testing.OSGiRuntimeTest;
+import org.junit.AfterClass;
+import org.junit.BeforeClass;
+import org.junit.Test;
+import org.osgi.jmx.framework.BundleStateMBean;
+
+/**
+ * A test that deployes a bundle that registeres an MBean
+ * 
+ * @author thomas.diesler at jboss.com
+ * @since 15-Feb-2010
+ */
+public class JMXStandardTestCase extends OSGiRuntimeTest
+{
+   private static OSGiRuntime runtime;
+   
+   @BeforeClass
+   public static void setUpClass() throws Exception
+   {
+      runtime = new OSGiRuntimeHelper().getDefaultRuntime();
+      runtime.addCapability(new JMXCapability());
+   }
+
+   @AfterClass
+   public static void tearDownClass() throws Exception
+   {
+      runtime.shutdown();
+      runtime = null;
+   }
+
+   @Test
+   public void testBundleStateMBean() throws Exception
+   {
+      BundleStateMBean bundleState = runtime.getBundleStateMBean();
+      assertNotNull("BundleStateMBean not null", bundleState);
+      
+      TabularData bundleData = bundleState.listBundles();
+      assertNotNull("TabularData not null", bundleData);
+      assertFalse("TabularData not empty", bundleData.isEmpty());
+   }
+}
\ No newline at end of file

Deleted: projects/jboss-osgi/trunk/testsuite/example/src/test/java/org/jboss/test/osgi/example/jmx/JMXTestCase.java
===================================================================
--- projects/jboss-osgi/trunk/testsuite/example/src/test/java/org/jboss/test/osgi/example/jmx/JMXTestCase.java	2010-04-15 13:45:28 UTC (rev 103999)
+++ projects/jboss-osgi/trunk/testsuite/example/src/test/java/org/jboss/test/osgi/example/jmx/JMXTestCase.java	2010-04-15 13:47:17 UTC (rev 104000)
@@ -1,74 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.test.osgi.example.jmx;
-
-//$Id$
-
-import static org.jboss.test.osgi.example.jmx.bundle.FooMBean.MBEAN_NAME;
-import static org.junit.Assert.assertEquals;
-
-import org.jboss.osgi.jmx.JMXCapability;
-import org.jboss.osgi.jmx.MBeanProxy;
-import org.jboss.osgi.jndi.JNDICapability;
-import org.jboss.osgi.testing.OSGiBundle;
-import org.jboss.osgi.testing.OSGiRuntime;
-import org.jboss.osgi.testing.OSGiRuntimeHelper;
-import org.jboss.test.osgi.example.jmx.bundle.FooMBean;
-import org.junit.AfterClass;
-import org.junit.BeforeClass;
-import org.junit.Test;
-
-/**
- * A test that deployes a bundle that registeres an MBean
- * 
- * @author thomas.diesler at jboss.com
- * @since 12-Feb-2009
- */
-public class JMXTestCase
-{
-   private static OSGiRuntime runtime;
-
-   @BeforeClass
-   public static void setUpClass() throws Exception
-   {
-      runtime = new OSGiRuntimeHelper().getDefaultRuntime();
-      runtime.addCapability(new JNDICapability());
-      runtime.addCapability(new JMXCapability());
-   }
-
-   @AfterClass
-   public static void tearDownClass() throws Exception
-   {
-      runtime.shutdown();
-      runtime = null;
-   }
-
-   @Test
-   public void testMBeanAccess() throws Exception
-   {
-      OSGiBundle bundle = runtime.installBundle("example-jmx.jar");
-      bundle.start();
-
-      FooMBean foo = (FooMBean)MBeanProxy.get(runtime.getMBeanServer(), MBEAN_NAME, FooMBean.class);
-      assertEquals("hello", foo.echo("hello"));
-   }
-}
\ No newline at end of file



More information about the jboss-osgi-commits mailing list