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

📄 mbeanoperationinfo.html

📁 j2ee api,很好的api。我这现在有
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<PRE>public static final int <B>INFO</B></PRE><DL><DD>Indicates that the operation is read-like, it basically returns information.<P><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#javax.management.MBeanOperationInfo.INFO">Constant Field Values</A></DL></DL><HR><A NAME="ACTION"><!-- --></A><H3>ACTION</H3><PRE>public static final int <B>ACTION</B></PRE><DL><DD>Indicates that the operation is a write-like, and would modify the MBean in some way, typically by writing some value or changing a configuration.<P><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#javax.management.MBeanOperationInfo.ACTION">Constant Field Values</A></DL></DL><HR><A NAME="ACTION_INFO"><!-- --></A><H3>ACTION_INFO</H3><PRE>public static final int <B>ACTION_INFO</B></PRE><DL><DD>Indicates that the operation is both read-like and write-like.<P><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#javax.management.MBeanOperationInfo.ACTION_INFO">Constant Field Values</A></DL></DL><HR><A NAME="UNKNOWN"><!-- --></A><H3>UNKNOWN</H3><PRE>public static final int <B>UNKNOWN</B></PRE><DL><DD>Indicates that the operation has an "unknown" nature.<P><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#javax.management.MBeanOperationInfo.UNKNOWN">Constant Field Values</A></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="MBeanOperationInfo(java.lang.String, java.lang.reflect.Method)"><!-- --></A><H3>MBeanOperationInfo</H3><PRE>public <B>MBeanOperationInfo</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;description,                          <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/reflect/Method.html" title="class or interface in java.lang.reflect">Method</A>&nbsp;method)                   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>MBeanOperationInfo</CODE> object.<P><DT><B>Parameters:</B><DD><CODE>method</CODE> - The <CODE>java.lang.reflect.Method</CODE> object describing the MBean operation.<DD><CODE>description</CODE> - A human readable description of the operation.<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 the name of <code>method</code> is not a valid Java identifier, or if the name of its return type or one of its parameter types is not a syntactically legal Java type name.  Java reserved words are not considered illegal here.  If <code>method</code> comes from a class compiled from Java, this exception cannot happen.</DL><HR><A NAME="MBeanOperationInfo(java.lang.String, java.lang.String, javax.management.MBeanParameterInfo[], java.lang.String, int)"><!-- --></A><H3>MBeanOperationInfo</H3><PRE>public <B>MBeanOperationInfo</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;name,                          <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;description,                          <A HREF="../../javax/management/MBeanParameterInfo.html" title="class in javax.management">MBeanParameterInfo</A>[]&nbsp;signature,                          <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;type,                          int&nbsp;impact)                   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>MBeanOperationInfo</CODE> object.<P><DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the method.<DD><CODE>description</CODE> - A human readable description of the operation.<DD><CODE>signature</CODE> - <CODE>MBeanParameterInfo</CODE> objects describing the parameters(arguments) of the method.  This may be null with the same effect as a zero-length array.<DD><CODE>type</CODE> - The type of the method's return value.<DD><CODE>impact</CODE> - The impact of the method, one of <CODE>INFO, ACTION, ACTION_INFO, UNKNOWN</CODE>.<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>name</code> is not a valid Java identifier or if <code>type</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, cloning is chiefly of interest to subclasses.</p><P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getReturnType()"><!-- --></A><H3>getReturnType</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>getReturnType</B>()</PRE><DL><DD>Returns the type of the method's return value.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the return type.</DL></DD></DL><HR><A NAME="getSignature()"><!-- --></A><H3>getSignature</H3><PRE>public <A HREF="../../javax/management/MBeanParameterInfo.html" title="class in javax.management">MBeanParameterInfo</A>[] <B>getSignature</B>()</PRE><DL><DD><p>Returns the list of parameters for this operation.  Each parameter is described by an <CODE>MBeanParameterInfo</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>MBeanParameterInfo</CODE> objects but that each referenced <CODE>MBeanParameterInfo</CODE> object is not copied.</p><P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>An array of <CODE>MBeanParameterInfo</CODE> objects.</DL></DD></DL><HR><A NAME="getImpact()"><!-- --></A><H3>getImpact</H3><PRE>public int <B>getImpact</B>()</PRE><DL><DD>Returns the impact of the method, one of <CODE>INFO</CODE>, <CODE>ACTION</CODE>, <CODE>ACTION_INFO</CODE>, <CODE>UNKNOWN</CODE>.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the impact code.</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>Compare this MBeanOperationInfo to another.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../javax/management/MBeanFeatureInfo.html#equals(java.lang.Object)">equals</A></CODE> in class <CODE><A HREF="../../javax/management/MBeanFeatureInfo.html" title="class in javax.management">MBeanFeatureInfo</A></CODE></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 MBeanOperationInfo such that its <A HREF="../../javax/management/MBeanFeatureInfo.html#getName()"><CODE>MBeanFeatureInfo.getName()</CODE></A>, <A HREF="../../javax/management/MBeanOperationInfo.html#getReturnType()"><CODE>getReturnType()</CODE></A>, <A HREF="../../javax/management/MBeanFeatureInfo.html#getDescription()"><CODE>MBeanFeatureInfo.getDescription()</CODE></A>, <A HREF="../../javax/management/MBeanOperationInfo.html#getImpact()"><CODE>getImpact()</CODE></A>, and <A HREF="../../javax/management/MBeanOperationInfo.html#getSignature()"><CODE>getSignature()</CODE></A> values are equal (not necessarily identical) to those of this MBeanConstructorInfo.  Two signature arrays are equal if their elements are pairwise equal.</DL></DD></DL><HR><A NAME="hashCode()"><!-- --></A><H3>hashCode</H3><PRE>public int <B>hashCode</B>()</PRE><DL><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../javax/management/MBeanFeatureInfo.html#hashCode()">hashCode</A></CODE> in class <CODE><A HREF="../../javax/management/MBeanFeatureInfo.html" title="class in javax.management">MBeanFeatureInfo</A></CODE></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/MBeanNotificationInfo.html" title="class in javax.management"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../javax/management/MBeanParameterInfo.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="MBeanOperationInfo.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;<A HREF="#field_summary">FIELD</A>&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;<A HREF="#field_detail">FIELD</A>&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 + -