PageRenderTime 26ms CodeModel.GetById 7ms app.highlight 13ms RepoModel.GetById 2ms app.codeStats 0ms

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