📄 jmxutils.html
字号:
<DL><DD><DL></DL></DD></DL><HR><A NAME="getServerDetail(javax.management.MBeanServer)"><!-- --></A><H3>getServerDetail</H3><PRE>public static java.lang.String <B>getServerDetail</B>(javax.management.MBeanServer server)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="checkParamsCount(java.lang.String, java.lang.Object[], int)"><!-- --></A><H3>checkParamsCount</H3><PRE>public static void <B>checkParamsCount</B>(java.lang.String operationName, java.lang.Object[] params, int count)</PRE><DL><DD><DL><DT><B>Parameters:</B><DD><CODE>operationName</CODE> - Name of operation we're checking params on (Used in exception if one thrown).<DD><CODE>params</CODE> - Amount of params passed.<DD><CODE>count</CODE> - Count of params expected.</DL></DD></DL><HR><A NAME="convertToOpenMBeanOperation(javax.management.MBeanOperationInfo)"><!-- --></A><H3>convertToOpenMBeanOperation</H3><PRE>public static javax.management.openmbean.OpenMBeanOperationInfo <B>convertToOpenMBeanOperation</B>(javax.management.MBeanOperationInfo in)</PRE><DL><DD><DL><DT><B>Parameters:</B><DD><CODE>in</CODE> - MBeanOperation to convert.<DT><B>Returns:</B><DD>An OpenMBeanOperation version of the passed MBeanOperation.</DL></DD></DL><HR><A NAME="convertToOpenMBeanOperation(javax.management.MBeanOperationInfo, java.lang.String, javax.management.openmbean.OpenType)"><!-- --></A><H3>convertToOpenMBeanOperation</H3><PRE>public static javax.management.openmbean.OpenMBeanOperationInfo <B>convertToOpenMBeanOperation</B>(javax.management.MBeanOperationInfo in, java.lang.String prefix, javax.management.openmbean.OpenType returnType)</PRE><DL><DD><DL><DT><B>Parameters:</B><DD><CODE>in</CODE> - MBeanOperation to convert.<DD><CODE>prefix</CODE> - A prefix to add to the name of new operation.<DD><CODE>returnType</CODE> - Return type to use in new operation. Use this parameter to override the passed <code>in</code> return type.<DT><B>Returns:</B><DD>An OpenMBeanOperation version of the passed MBeanOperation.</DL></DD></DL><HR><A NAME="convertImpact(int)"><!-- --></A><H3>convertImpact</H3><PRE>public static int <B>convertImpact</B>(int impact)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="convertToOpenMBeanOperationInfo(javax.management.MBeanParameterInfo)"><!-- --></A><H3>convertToOpenMBeanOperationInfo</H3><PRE>public static javax.management.openmbean.OpenMBeanParameterInfo <B>convertToOpenMBeanOperationInfo</B>(javax.management.MBeanParameterInfo in)</PRE><DL><DD><DL><DT><B>Parameters:</B><DD><CODE>in</CODE> - MBeanParameterInfo to convert to an OpenMBeanParameterInfo.<DT><B>Returns:</B><DD>OpenMBeanParameterInfo version of <code>in</code></DL></DD></DL><HR><A NAME="isOpenType(java.lang.Class)"><!-- --></A><H3>isOpenType</H3><PRE>public static boolean <B>isOpenType</B>(java.lang.Class c)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="isOpenType(java.lang.String)"><!-- --></A><H3>isOpenType</H3><PRE>public static boolean <B>isOpenType</B>(java.lang.String classname)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getOpenType(java.lang.String)"><!-- --></A><H3>getOpenType</H3><PRE>public static javax.management.openmbean.OpenType <B>getOpenType</B>(java.lang.String classString)</PRE><DL><DD><DL><DT><B>Parameters:</B><DD><CODE>classString</CODE> - Java class name.<DT><B>Returns:</B><DD>Its OpenType equivalent.</DL></DD></DL><HR><A NAME="getOpenType(java.lang.String, javax.management.openmbean.OpenType)"><!-- --></A><H3>getOpenType</H3><PRE>public static javax.management.openmbean.OpenType <B>getOpenType</B>(java.lang.String classString, javax.management.openmbean.OpenType defaultType)</PRE><DL><DD><DL><DT><B>Parameters:</B><DD><CODE>classString</CODE> - Java class name.<DD><CODE>defaultType</CODE> - If no equivalent found, use passed defaultType.<DT><B>Returns:</B><DD>Its OpenType equivalent.</DL></DD></DL><HR><A NAME="convertToOpenMBeanAttribute(javax.management.MBeanAttributeInfo)"><!-- --></A><H3>convertToOpenMBeanAttribute</H3><PRE>public static javax.management.openmbean.OpenMBeanAttributeInfo <B>convertToOpenMBeanAttribute</B>(javax.management.MBeanAttributeInfo in)</PRE><DL><DD><DL><DT><B>Parameters:</B><DD><CODE>in</CODE> - AttributeInfo to convert.<DT><B>Returns:</B><DD>OpenMBeanAttributeInfo version of <code>in</code>.</DL></DD></DL><HR><A NAME="convertToOpenMBeanAttribute(javax.management.MBeanAttributeInfo, java.lang.String)"><!-- --></A><H3>convertToOpenMBeanAttribute</H3><PRE>public static javax.management.openmbean.OpenMBeanAttributeInfo <B>convertToOpenMBeanAttribute</B>(javax.management.MBeanAttributeInfo in, java.lang.String prefix)</PRE><DL><DD><DL><DT><B>Parameters:</B><DD><CODE>in</CODE> - AttributeInfo to convert.<DD><CODE>prefix</CODE> - Prefix to add to names of new attributes. If null, nothing is added.<DT><B>Returns:</B><DD>OpenMBeanAttributeInfo version of <code>in</code>.</DL></DD></DL><HR><A NAME="createOpenMBeanAttributeInfo(javax.management.openmbean.OpenType, javax.management.MBeanAttributeInfo, java.lang.String)"><!-- --></A><H3>createOpenMBeanAttributeInfo</H3><PRE>public static javax.management.openmbean.OpenMBeanAttributeInfo <B>createOpenMBeanAttributeInfo</B>(javax.management.openmbean.OpenType type, javax.management.MBeanAttributeInfo in, java.lang.String prefix)</PRE><DL><DD><DL><DT><B>Parameters:</B><DD><CODE>type</CODE> - Type of new OpenMBeanAttributeInfo.<DD><CODE>in</CODE> - The MBeanAttributeInfo we're converting.<DD><CODE>prefix</CODE> - Prefix to add to name of new Attribute (If null, nothing is added).<DT><B>Returns:</B><DD>New OpenMBeanAttributeInfo based on <code>in</code>.</DL></DD></DL><HR><A NAME="createCompositeType(java.util.Map, java.lang.String, java.lang.String)"><!-- --></A><H3>createCompositeType</H3><PRE>public static javax.management.openmbean.CompositeType <B>createCompositeType</B>(java.util.Map m, java.lang.String compositeTypeName, java.lang.String compositeTypeDescription) throws javax.management.openmbean.OpenDataException</PRE><DL><DD><DL><DT><B>Parameters:</B><DD><CODE>m</CODE> - A map to make a CompositeType of (Assumption is that order does not matter. If it does, pass a map of sorted keys).<DD><CODE>compositeTypeName</CODE> - Name to give created compositeType.<DD><CODE>compositeTypeDescription</CODE> - Description.<DT><B>Returns:</B><DD>CompositeType made by examination of passed TreeMap.<DT><B>Throws:</B><DD><CODE>javax.management.openmbean.OpenDataException</CODE></DL></DD></DL><HR><A NAME="extractAddress(javax.management.ObjectName)"><!-- --></A><H3>extractAddress</H3><PRE>public static java.net.InetSocketAddress <B>extractAddress</B>(javax.management.ObjectName name)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getUid(javax.management.ObjectName)"><!-- --></A><H3>getUid</H3><PRE>public static java.lang.String <B>getUid</B>(javax.management.ObjectName on)</PRE><DL><DD>Returns the UID portion of the name key property of an object name representing a "CrawlService.Job" bean. It is assumed that the name will have the format {crawl name}-{uid}.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>on</CODE> - A CrawlServer.Job object name.<DT><B>Returns:</B><DD>Uid for a CrawlServer.Job.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/JmxUtils.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../org/archive/util/JEMBeanHelper.html" title="class in org.archive.util"><B>PREV CLASS</B></A> <A HREF="../../../org/archive/util/JndiUtils.html" title="class in org.archive.util"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?org/archive/util/JmxUtils.html" target="_top"><B>FRAMES</B></A> <A HREF="JmxUtils.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR>Copyright © 2003-2006 Internet Archive. All Rights Reserved.</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -