⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 standardmbean.html

📁 j2ee api,很好的api。我这现在有
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<HR><A NAME="getDescription(javax.management.MBeanOperationInfo)"><!-- --></A><H3>getDescription</H3><PRE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getDescription</B>(<A HREF="../../javax/management/MBeanOperationInfo.html" title="class in javax.management">MBeanOperationInfo</A>&nbsp;info)</PRE><DL><DD>Customization hook: Get the description that will be used in the MBeanOperationInfo  returned by this MBean. <br> Subclasses may redefine this method in order to supply their custom description.  The default implementation returns <A HREF="../../javax/management/StandardMBean.html#getDescription(javax.management.MBeanFeatureInfo)"><CODE>getDescription((MBeanFeatureInfo) info)</CODE></A>.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>info</CODE> - The default MBeanOperationInfo derived by reflection.<DT><B>Returns:</B><DD>the description for the given MBeanOperationInfo.</DL></DD></DL><HR><A NAME="getImpact(javax.management.MBeanOperationInfo)"><!-- --></A><H3>getImpact</H3><PRE>protected int <B>getImpact</B>(<A HREF="../../javax/management/MBeanOperationInfo.html" title="class in javax.management">MBeanOperationInfo</A>&nbsp;info)</PRE><DL><DD>Customization hook: Get the <var>impact</var> flag of the operation that will be used in  the MBeanOperationInfo returned by this MBean. <br> Subclasses may redefine this method in order to supply their custom impact flag.  The default implementation returns <A HREF="../../javax/management/MBeanOperationInfo.html#getImpact()"><CODE>info.getImpact()</CODE></A>.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>info</CODE> - The default MBeanOperationInfo derived by reflection.<DT><B>Returns:</B><DD>the impact flag for the given MBeanOperationInfo.</DL></DD></DL><HR><A NAME="getParameterName(javax.management.MBeanOperationInfo, javax.management.MBeanParameterInfo, int)"><!-- --></A><H3>getParameterName</H3><PRE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getParameterName</B>(<A HREF="../../javax/management/MBeanOperationInfo.html" title="class in javax.management">MBeanOperationInfo</A>&nbsp;op,                                  <A HREF="../../javax/management/MBeanParameterInfo.html" title="class in javax.management">MBeanParameterInfo</A>&nbsp;param,                                  int&nbsp;sequence)</PRE><DL><DD>Customization hook: Get the name that will be used for the <var>sequence</var> MBeanParameterInfo of the MBeanOperationInfo returned by this MBean. <br> Subclasses may redefine this method in order to supply their custom parameter name.  The default implementation returns <A HREF="../../javax/management/MBeanFeatureInfo.html#getName()"><CODE>param.getName()</CODE></A>.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>op</CODE> - The default MBeanOperationInfo derived by reflection.<DD><CODE>param</CODE> - The default MBeanParameterInfo derived by reflection.<DD><CODE>sequence</CODE> - The sequence number of the parameter considered         ("0" for the first parameter, "1" for the second parameter,        etc...).<DT><B>Returns:</B><DD>the name to use for the given MBeanParameterInfo.</DL></DD></DL><HR><A NAME="getDescription(javax.management.MBeanOperationInfo, javax.management.MBeanParameterInfo, int)"><!-- --></A><H3>getDescription</H3><PRE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getDescription</B>(<A HREF="../../javax/management/MBeanOperationInfo.html" title="class in javax.management">MBeanOperationInfo</A>&nbsp;op,                                <A HREF="../../javax/management/MBeanParameterInfo.html" title="class in javax.management">MBeanParameterInfo</A>&nbsp;param,                                int&nbsp;sequence)</PRE><DL><DD>Customization hook: Get the description that will be used for the  <var>sequence</var> MBeanParameterInfo of the MBeanOperationInfo returned by this MBean. <br> Subclasses may redefine this method in order to supply their custom description.  The default implementation returns <A HREF="../../javax/management/MBeanFeatureInfo.html#getDescription()"><CODE>param.getDescription()</CODE></A>.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>op</CODE> - The default MBeanOperationInfo derived by reflection.<DD><CODE>param</CODE> - The default MBeanParameterInfo derived by reflection.<DD><CODE>sequence</CODE> - The sequence number of the parameter considered         ("0" for the first parameter, "1" for the second parameter,        etc...).<DT><B>Returns:</B><DD>the description for the given MBeanParameterInfo.</DL></DD></DL><HR><A NAME="getConstructors(javax.management.MBeanConstructorInfo[], java.lang.Object)"><!-- --></A><H3>getConstructors</H3><PRE>protected <A HREF="../../javax/management/MBeanConstructorInfo.html" title="class in javax.management">MBeanConstructorInfo</A>[] <B>getConstructors</B>(<A HREF="../../javax/management/MBeanConstructorInfo.html" title="class in javax.management">MBeanConstructorInfo</A>[]&nbsp;ctors,                                                 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;impl)</PRE><DL><DD>Customization hook: Get the MBeanConstructorInfo[] that will be used in the MBeanInfo returned by this MBean. <br> By default, this method returns <code>null</code> if the wrapped implementation is not <var>this</var>. Indeed, if the wrapped implementation is not this object itself, it will not be possible to recreate a wrapped implementation by calling the implementation  constructors through <code>MBeanServer.createMBean(...)</code>.<br> Otherwise, if the wrapped implementation is <var>this</var>,  <var>ctors</var> is returned. <br> Subclasses may redefine this method in order to modify this  behaviour, if needed.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>ctors</CODE> - The default MBeanConstructorInfo[] derived by reflection.<DD><CODE>impl</CODE> - The wrapped implementation. If <code>null</code> is        passed, the wrapped implementation is ignored and         <var>ctors</var> is returned.<DT><B>Returns:</B><DD>the MBeanConstructorInfo[] for the new MBeanInfo.</DL></DD></DL><HR><A NAME="getCachedMBeanInfo()"><!-- --></A><H3>getCachedMBeanInfo</H3><PRE>protected <A HREF="../../javax/management/MBeanInfo.html" title="class in javax.management">MBeanInfo</A> <B>getCachedMBeanInfo</B>()</PRE><DL><DD>Customization hook: Return the MBeanInfo cached for this object. <p>Subclasses may redefine this method in order to implement their own caching policy.  The default implementation stores one <A HREF="../../javax/management/MBeanInfo.html" title="class in javax.management"><CODE>MBeanInfo</CODE></A> object per instance.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The cached MBeanInfo, or null if no MBeanInfo is cached.<DT><B>See Also:</B><DD><A HREF="../../javax/management/StandardMBean.html#cacheMBeanInfo(javax.management.MBeanInfo)"><CODE>cacheMBeanInfo(MBeanInfo)</CODE></A></DL></DD></DL><HR><A NAME="cacheMBeanInfo(javax.management.MBeanInfo)"><!-- --></A><H3>cacheMBeanInfo</H3><PRE>protected void <B>cacheMBeanInfo</B>(<A HREF="../../javax/management/MBeanInfo.html" title="class in javax.management">MBeanInfo</A>&nbsp;info)</PRE><DL><DD>Customization hook: cache the MBeanInfo built for this object. <p>Subclasses may redefine this method in order to implement their own caching policy.  The default implementation stores <code>info</code> in this instance.  A subclass can define other policies, such as not saving <code>info</code> (so it is reconstructed every time <A HREF="../../javax/management/StandardMBean.html#getMBeanInfo()"><CODE>getMBeanInfo()</CODE></A> is called) or sharing a unique <A HREF="../../javax/management/MBeanInfo.html" title="class in javax.management"><CODE>MBeanInfo</CODE></A> object when several <code>StandardMBean</code> instances have equal <A HREF="../../javax/management/MBeanInfo.html" title="class in javax.management"><CODE>MBeanInfo</CODE></A> values.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>info</CODE> - the new <code>MBeanInfo</code> to cache.  Any previously cached value is discarded.  This parameter may be null, in which case there is no new cached value.</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=3 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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><b>Java<sup><font size=-2>TM</font></sup> 2 Platform<br>Ent. Ed. v1.4</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../javax/management/QueryEval.html" title="class in javax.management"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../javax/management/StringValueExp.html" title="class in javax.management"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="StandardMBean.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -