/javadoc/com/googlecode/jmxtrans/example/TreeWalker3.html

http://jmxtrans.googlecode.com/ · HTML · 285 lines · 227 code · 36 blank · 22 comment · 0 complexity · 352d63a98c509d115b47ce7f77edccfe MD5 · raw file

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!--NewPage-->
  3. <HTML>
  4. <HEAD>
  5. <!-- Generated by javadoc (build 1.6.0_24) on Fri Jul 08 14:42:36 PDT 2011 -->
  6. <TITLE>
  7. TreeWalker3 (jmxlogger javadoc)
  8. </TITLE>
  9. <META NAME="date" CONTENT="2011-07-08">
  10. <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
  11. <SCRIPT type="text/javascript">
  12. function windowTitle()
  13. {
  14. if (location.href.indexOf('is-external=true') == -1) {
  15. parent.document.title="TreeWalker3 (jmxlogger javadoc)";
  16. }
  17. }
  18. </SCRIPT>
  19. <NOSCRIPT>
  20. </NOSCRIPT>
  21. </HEAD>
  22. <BODY BGCOLOR="white" onload="windowTitle();">
  23. <HR>
  24. <!-- ========= START OF TOP NAVBAR ======= -->
  25. <A NAME="navbar_top"><!-- --></A>
  26. <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
  27. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  28. <TR>
  29. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  30. <A NAME="navbar_top_firstrow"><!-- --></A>
  31. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  32. <TR ALIGN="center" VALIGN="top">
  33. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  34. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  35. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  36. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  37. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  38. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  39. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  40. </TR>
  41. </TABLE>
  42. </TD>
  43. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  44. </EM>
  45. </TD>
  46. </TR>
  47. <TR>
  48. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  49. &nbsp;<A HREF="../../../../com/googlecode/jmxtrans/example/TreeWalker2.html" title="class in com.googlecode.jmxtrans.example"><B>PREV CLASS</B></A>&nbsp;
  50. &nbsp;NEXT CLASS</FONT></TD>
  51. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  52. <A HREF="../../../../index.html?com/googlecode/jmxtrans/example/TreeWalker3.html" target="_top"><B>FRAMES</B></A> &nbsp;
  53. &nbsp;<A HREF="TreeWalker3.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  54. &nbsp;<SCRIPT type="text/javascript">
  55. <!--
  56. if(window==top) {
  57. document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  58. }
  59. //-->
  60. </SCRIPT>
  61. <NOSCRIPT>
  62. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  63. </NOSCRIPT>
  64. </FONT></TD>
  65. </TR>
  66. <TR>
  67. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  68. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  69. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  70. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  71. </TR>
  72. </TABLE>
  73. <A NAME="skip-navbar_top"></A>
  74. <!-- ========= END OF TOP NAVBAR ========= -->
  75. <HR>
  76. <!-- ======== START OF CLASS DATA ======== -->
  77. <H2>
  78. <FONT SIZE="-1">
  79. com.googlecode.jmxtrans.example</FONT>
  80. <BR>
  81. Class TreeWalker3</H2>
  82. <PRE>
  83. java.lang.Object
  84. <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.googlecode.jmxtrans.example.TreeWalker3</B>
  85. </PRE>
  86. <HR>
  87. <DL>
  88. <DT><PRE>public class <B>TreeWalker3</B><DT>extends java.lang.Object</DL>
  89. </PRE>
  90. <P>
  91. Walks a JMX tree and prints out all of the unique typenames and their attributes.
  92. This is a good test of the core engine of JmxTrans to ensure that it covers all cases.
  93. <P>
  94. <P>
  95. <DL>
  96. <DT><B>Author:</B></DT>
  97. <DD>jon</DD>
  98. </DL>
  99. <HR>
  100. <P>
  101. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  102. <A NAME="constructor_summary"><!-- --></A>
  103. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  104. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  105. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  106. <B>Constructor Summary</B></FONT></TH>
  107. </TR>
  108. <TR BGCOLOR="white" CLASS="TableRowColor">
  109. <TD><CODE><B><A HREF="../../../../com/googlecode/jmxtrans/example/TreeWalker3.html#TreeWalker3()">TreeWalker3</A></B>()</CODE>
  110. <BR>
  111. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  112. </TR>
  113. </TABLE>
  114. &nbsp;
  115. <!-- ========== METHOD SUMMARY =========== -->
  116. <A NAME="method_summary"><!-- --></A>
  117. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  118. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  119. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  120. <B>Method Summary</B></FONT></TH>
  121. </TR>
  122. <TR BGCOLOR="white" CLASS="TableRowColor">
  123. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  124. <CODE>static&nbsp;void</CODE></FONT></TD>
  125. <TD><CODE><B><A HREF="../../../../com/googlecode/jmxtrans/example/TreeWalker3.html#main(java.lang.String[])">main</A></B>(java.lang.String[]&nbsp;args)</CODE>
  126. <BR>
  127. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  128. </TR>
  129. <TR BGCOLOR="white" CLASS="TableRowColor">
  130. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  131. <CODE>&nbsp;void</CODE></FONT></TD>
  132. <TD><CODE><B><A HREF="../../../../com/googlecode/jmxtrans/example/TreeWalker3.html#walkTree(javax.management.MBeanServerConnection)">walkTree</A></B>(javax.management.MBeanServerConnection&nbsp;connection)</CODE>
  133. <BR>
  134. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  135. </TR>
  136. </TABLE>
  137. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  138. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  139. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  140. <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
  141. </TR>
  142. <TR BGCOLOR="white" CLASS="TableRowColor">
  143. <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
  144. </TR>
  145. </TABLE>
  146. &nbsp;
  147. <P>
  148. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  149. <A NAME="constructor_detail"><!-- --></A>
  150. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  151. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  152. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  153. <B>Constructor Detail</B></FONT></TH>
  154. </TR>
  155. </TABLE>
  156. <A NAME="TreeWalker3()"><!-- --></A><H3>
  157. TreeWalker3</H3>
  158. <PRE>
  159. public <B>TreeWalker3</B>()</PRE>
  160. <DL>
  161. </DL>
  162. <!-- ============ METHOD DETAIL ========== -->
  163. <A NAME="method_detail"><!-- --></A>
  164. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  165. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  166. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  167. <B>Method Detail</B></FONT></TH>
  168. </TR>
  169. </TABLE>
  170. <A NAME="main(java.lang.String[])"><!-- --></A><H3>
  171. main</H3>
  172. <PRE>
  173. public static void <B>main</B>(java.lang.String[]&nbsp;args)
  174. throws java.lang.Exception</PRE>
  175. <DL>
  176. <DD><DL>
  177. <DT><B>Throws:</B>
  178. <DD><CODE>java.lang.Exception</CODE></DL>
  179. </DD>
  180. </DL>
  181. <HR>
  182. <A NAME="walkTree(javax.management.MBeanServerConnection)"><!-- --></A><H3>
  183. walkTree</H3>
  184. <PRE>
  185. public void <B>walkTree</B>(javax.management.MBeanServerConnection&nbsp;connection)
  186. throws java.lang.Exception</PRE>
  187. <DL>
  188. <DD><DL>
  189. <DT><B>Throws:</B>
  190. <DD><CODE>java.lang.Exception</CODE></DL>
  191. </DD>
  192. </DL>
  193. <!-- ========= END OF CLASS DATA ========= -->
  194. <HR>
  195. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  196. <A NAME="navbar_bottom"><!-- --></A>
  197. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  198. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  199. <TR>
  200. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  201. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  202. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  203. <TR ALIGN="center" VALIGN="top">
  204. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  205. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  206. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  207. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  208. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  209. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  210. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  211. </TR>
  212. </TABLE>
  213. </TD>
  214. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  215. </EM>
  216. </TD>
  217. </TR>
  218. <TR>
  219. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  220. &nbsp;<A HREF="../../../../com/googlecode/jmxtrans/example/TreeWalker2.html" title="class in com.googlecode.jmxtrans.example"><B>PREV CLASS</B></A>&nbsp;
  221. &nbsp;NEXT CLASS</FONT></TD>
  222. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  223. <A HREF="../../../../index.html?com/googlecode/jmxtrans/example/TreeWalker3.html" target="_top"><B>FRAMES</B></A> &nbsp;
  224. &nbsp;<A HREF="TreeWalker3.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  225. &nbsp;<SCRIPT type="text/javascript">
  226. <!--
  227. if(window==top) {
  228. document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  229. }
  230. //-->
  231. </SCRIPT>
  232. <NOSCRIPT>
  233. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  234. </NOSCRIPT>
  235. </FONT></TD>
  236. </TR>
  237. <TR>
  238. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  239. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  240. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  241. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  242. </TR>
  243. </TABLE>
  244. <A NAME="skip-navbar_bottom"></A>
  245. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  246. <HR>
  247. <i>Copyright &#169; 2011 Jon Stevens and a gang of pencils. All Rights Reserved. Build version: 199</i>
  248. </BODY>
  249. </HTML>