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

📄 mbeaninfo.html

📁 j2ee api,很好的api。我这现在有
💻 HTML
📖 第 1 页 / 共 2 页
字号:
                 <A HREF="../../javax/management/MBeanConstructorInfo.html" title="class in javax.management">MBeanConstructorInfo</A>[]&nbsp;constructors,                 <A HREF="../../javax/management/MBeanOperationInfo.html" title="class in javax.management">MBeanOperationInfo</A>[]&nbsp;operations,                 <A HREF="../../javax/management/MBeanNotificationInfo.html" title="class in javax.management">MBeanNotificationInfo</A>[]&nbsp;notifications)          throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></PRE><DL><DD>Constructs an <CODE>MBeanInfo</CODE>.<P><DT><B>Parameters:</B><DD><CODE>className</CODE> - The name of the Java class of the MBean described by this <CODE>MBeanInfo</CODE>.  This value may be any syntactically legal Java class name.  It does not have to be a Java class known to the MBean server or to the MBean's ClassLoader.  If it is a Java class known to the MBean's ClassLoader, it is recommended but not required that the class's public methods include those that would appear in a Standard MBean implementing the attributes and operations in this MBeanInfo.<DD><CODE>description</CODE> - A human readable description of the MBean (optional).<DD><CODE>attributes</CODE> - The list of exposed attributes of the MBean. This may be null with the same effect as a zero-length array.<DD><CODE>constructors</CODE> - The list of public constructors of the MBean.  This may be null with the same effect as a zero-length array.<DD><CODE>operations</CODE> - The list of operations of the MBean.  This may be null with the same effect as a zero-length array.<DD><CODE>notifications</CODE> - The list of notifications emitted.  This may be null with the same effect as a zero-length array.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if <code>className</code> is not a syntactically legal Java type name.  Java reserved words are not considered illegal here.</DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="clone()"><!-- --></A><H3>clone</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> <B>clone</B>()</PRE><DL><DD><p>Returns a shallow clone of this instance. The clone is obtained by simply calling <tt>super.clone()</tt>, thus calling the default native shallow cloning mechanism implemented by <tt>Object.clone()</tt>. No deeper cloning of any internal field is made.</p> <p>Since this class is immutable, the clone method is chiefly of interest to subclasses.</p><P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getClassName()"><!-- --></A><H3>getClassName</H3><PRE>public <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>getClassName</B>()</PRE><DL><DD>Returns the name of the Java class of the MBean described by this <CODE>MBeanInfo</CODE>.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the class name.</DL></DD></DL><HR><A NAME="getDescription()"><!-- --></A><H3>getDescription</H3><PRE>public <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>()</PRE><DL><DD>Returns a human readable description of the MBean.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the description.</DL></DD></DL><HR><A NAME="getAttributes()"><!-- --></A><H3>getAttributes</H3><PRE>public <A HREF="../../javax/management/MBeanAttributeInfo.html" title="class in javax.management">MBeanAttributeInfo</A>[] <B>getAttributes</B>()</PRE><DL><DD>Returns the list of attributes exposed for management. Each attribute is described by an <CODE>MBeanAttributeInfo</CODE> object. The returned array is a shallow copy of the internal array, which means that it is a copy of the internal array of references to the <CODE>MBeanAttributeInfo</CODE> objects but that each referenced <CODE>MBeanAttributeInfo</CODE> object is not copied.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>An array of <CODE>MBeanAttributeInfo</CODE> objects.</DL></DD></DL><HR><A NAME="getOperations()"><!-- --></A><H3>getOperations</H3><PRE>public <A HREF="../../javax/management/MBeanOperationInfo.html" title="class in javax.management">MBeanOperationInfo</A>[] <B>getOperations</B>()</PRE><DL><DD>Returns the list of operations  of the MBean. Each operation is described by an <CODE>MBeanOperationInfo</CODE> object. The returned array is a shallow copy of the internal array, which means that it is a copy of the internal array of references to the <CODE>MBeanOperationInfo</CODE> objects but that each referenced <CODE>MBeanOperationInfo</CODE> object is not copied.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>An array of <CODE>MBeanOperationInfo</CODE> objects.</DL></DD></DL><HR><A NAME="getConstructors()"><!-- --></A><H3>getConstructors</H3><PRE>public <A HREF="../../javax/management/MBeanConstructorInfo.html" title="class in javax.management">MBeanConstructorInfo</A>[] <B>getConstructors</B>()</PRE><DL><DD><p>Returns the list of the public constructors of the MBean. Each constructor is described by an <CODE>MBeanConstructorInfo</CODE> object.</p> <p>The returned array is a shallow copy of the internal array, which means that it is a copy of the internal array of references to the <CODE>MBeanConstructorInfo</CODE> objects but that each referenced <CODE>MBeanConstructorInfo</CODE> object is not copied.</p> <p>The returned list is not necessarily exhaustive.  That is, the MBean may have a public constructor that is not in the list.  In this case, the MBean server can construct another instance of this MBean's class using that constructor, even though it is not listed here.</p><P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>An array of <CODE>MBeanConstructorInfo</CODE> objects.</DL></DD></DL><HR><A NAME="getNotifications()"><!-- --></A><H3>getNotifications</H3><PRE>public <A HREF="../../javax/management/MBeanNotificationInfo.html" title="class in javax.management">MBeanNotificationInfo</A>[] <B>getNotifications</B>()</PRE><DL><DD>Returns the list of the notifications emitted by the MBean. Each notification is described by an <CODE>MBeanNotificationInfo</CODE> object. The returned array is a shallow copy of the internal array, which means that it is a copy of the internal array of references to the <CODE>MBeanNotificationInfo</CODE> objects but that each referenced <CODE>MBeanNotificationInfo</CODE> object is not copied.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>An array of <CODE>MBeanNotificationInfo</CODE> objects.</DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(<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;o)</PRE><DL><DD><p>Compare this MBeanInfo to another.  Two MBeanInfo objects are equal iff they return equal values for <A HREF="../../javax/management/MBeanInfo.html#getClassName()"><CODE>getClassName()</CODE></A> and for <A HREF="../../javax/management/MBeanInfo.html#getDescription()"><CODE>getDescription()</CODE></A>, and the arrays returned by the two objects for <A HREF="../../javax/management/MBeanInfo.html#getAttributes()"><CODE>getAttributes()</CODE></A>, <A HREF="../../javax/management/MBeanInfo.html#getOperations()"><CODE>getOperations()</CODE></A>, <A HREF="../../javax/management/MBeanInfo.html#getConstructors()"><CODE>getConstructors()</CODE></A>, and <A HREF="../../javax/management/MBeanInfo.html#getNotifications()"><CODE>getNotifications()</CODE></A> are pairwise equal.  Here "equal" means <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang"><CODE>Object.equals(Object)</CODE></A>, not identity.</p> <p>If two MBeanInfo objects return the same values in one of their arrays but in a different order then they are not equal.</p><P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>o</CODE> - the object to compare to.<DT><B>Returns:</B><DD>true iff <code>o</code> is an MBeanInfo that is equal to this one according to the rules above.</DL></DD></DL><HR><A NAME="hashCode()"><!-- --></A><H3>hashCode</H3><PRE>public int <B>hashCode</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></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/MBeanFeatureInfo.html" title="class in javax.management"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../javax/management/MBeanNotificationInfo.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="MBeanInfo.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><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR><font size="-1"><a href="http://java.sun.com/webapps/bugreport">Submit a bug or feature</a> <p>Copyright 2003 Sun Microsystems, Inc. All rights reserved.</font></BODY></HTML>

⌨️ 快捷键说明

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