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

📄 management.html

📁 j2ee帮助文档软件设计/软件工程 文件格式
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<HR><A NAME="setAttribute(javax.management.ObjectName, javax.management.Attribute)"><!-- --></A><H3>setAttribute</H3><PRE>void <B>setAttribute</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/javax/management/ObjectName.html" title="class or interface in javax.management">ObjectName</A>&nbsp;name,                  <A HREF="http://java.sun.com/j2se/1.5/docs/api/javax/management/Attribute.html" title="class or interface in javax.management">Attribute</A>&nbsp;attribute)                  throws <A HREF="http://java.sun.com/j2se/1.5/docs/api/javax/management/InstanceNotFoundException.html" title="class or interface in javax.management">InstanceNotFoundException</A>,                         <A HREF="http://java.sun.com/j2se/1.5/docs/api/javax/management/AttributeNotFoundException.html" title="class or interface in javax.management">AttributeNotFoundException</A>,                         <A HREF="http://java.sun.com/j2se/1.5/docs/api/javax/management/InvalidAttributeValueException.html" title="class or interface in javax.management">InvalidAttributeValueException</A>,                         <A HREF="http://java.sun.com/j2se/1.5/docs/api/javax/management/MBeanException.html" title="class or interface in javax.management">MBeanException</A>,                         <A HREF="http://java.sun.com/j2se/1.5/docs/api/javax/management/ReflectionException.html" title="class or interface in javax.management">ReflectionException</A>,                         <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/rmi/RemoteException.html" title="class or interface in java.rmi">RemoteException</A></PRE><DL><DD>Sets the value of a specific attribute of a named managed object. The managed object is identified by its object name.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the managed object within which the attribute is to be set.<DD><CODE>attribute</CODE> - The identification of the attribute to be set and the value it is to be set to.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5/docs/api/javax/management/InstanceNotFoundException.html" title="class or interface in javax.management">InstanceNotFoundException</A></CODE> - The managed object specified is not registered in the MEJB.<DD><CODE><A HREF="http://java.sun.com/j2se/1.5/docs/api/javax/management/AttributeNotFoundException.html" title="class or interface in javax.management">AttributeNotFoundException</A></CODE> - The attribute specified is not accessible in the managed object.<DD><CODE><A HREF="http://java.sun.com/j2se/1.5/docs/api/javax/management/InvalidAttributeValueException.html" title="class or interface in javax.management">InvalidAttributeValueException</A></CODE> - The value specified for the attribute is not valid.<DD><CODE><A HREF="http://java.sun.com/j2se/1.5/docs/api/javax/management/MBeanException.html" title="class or interface in javax.management">MBeanException</A></CODE> - Wraps an exception thrown by the managed object's setter.<DD><CODE><A HREF="http://java.sun.com/j2se/1.5/docs/api/javax/management/ReflectionException.html" title="class or interface in javax.management">ReflectionException</A></CODE> - An exception occurred when trying to invoke the setAttribute method of a Dynamic MBean.<DD><CODE><A HREF="http://java.sun.com/j2se/1.5/docs/api/java/rmi/RemoteException.html" title="class or interface in java.rmi">RemoteException</A></CODE> - A communication exception occurred during the execution of a remote method call</DL></DD></DL><HR><A NAME="setAttributes(javax.management.ObjectName, javax.management.AttributeList)"><!-- --></A><H3>setAttributes</H3><PRE><A HREF="http://java.sun.com/j2se/1.5/docs/api/javax/management/AttributeList.html" title="class or interface in javax.management">AttributeList</A> <B>setAttributes</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/javax/management/ObjectName.html" title="class or interface in javax.management">ObjectName</A>&nbsp;name,                            <A HREF="http://java.sun.com/j2se/1.5/docs/api/javax/management/AttributeList.html" title="class or interface in javax.management">AttributeList</A>&nbsp;attributes)                            throws <A HREF="http://java.sun.com/j2se/1.5/docs/api/javax/management/InstanceNotFoundException.html" title="class or interface in javax.management">InstanceNotFoundException</A>,                                   <A HREF="http://java.sun.com/j2se/1.5/docs/api/javax/management/ReflectionException.html" title="class or interface in javax.management">ReflectionException</A>,                                   <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/rmi/RemoteException.html" title="class or interface in java.rmi">RemoteException</A></PRE><DL><DD>Sets the values of several attributes of a named managed object. The managed object is identified by its object name.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - The object name of the managed object within which the attributes are to be set.<DD><CODE>attributes</CODE> - A list of attributes: The identification of the attributes to be set and  the values they are to be set to.<DT><B>Returns:</B><DD>The list of attributes that were set, with their new values.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5/docs/api/javax/management/InstanceNotFoundException.html" title="class or interface in javax.management">InstanceNotFoundException</A></CODE> - The managed object specified is not registered in the MEJB.<DD><CODE><A HREF="http://java.sun.com/j2se/1.5/docs/api/javax/management/ReflectionException.html" title="class or interface in javax.management">ReflectionException</A></CODE> - An exception occurred when trying to invoke the setAttributes method of a Dynamic MBean.<DD><CODE><A HREF="http://java.sun.com/j2se/1.5/docs/api/java/rmi/RemoteException.html" title="class or interface in java.rmi">RemoteException</A></CODE> - A communication exception occurred during the execution of a remote method call</DL></DD></DL><HR><A NAME="invoke(javax.management.ObjectName, java.lang.String, java.lang.Object[], java.lang.String[])"><!-- --></A><H3>invoke</H3><PRE><A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> <B>invoke</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/javax/management/ObjectName.html" title="class or interface in javax.management">ObjectName</A>&nbsp;name,              <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;operationName,              <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[]&nbsp;params,              <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[]&nbsp;signature)              throws <A HREF="http://java.sun.com/j2se/1.5/docs/api/javax/management/InstanceNotFoundException.html" title="class or interface in javax.management">InstanceNotFoundException</A>,                     <A HREF="http://java.sun.com/j2se/1.5/docs/api/javax/management/MBeanException.html" title="class or interface in javax.management">MBeanException</A>,                     <A HREF="http://java.sun.com/j2se/1.5/docs/api/javax/management/ReflectionException.html" title="class or interface in javax.management">ReflectionException</A>,                     <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/rmi/RemoteException.html" title="class or interface in java.rmi">RemoteException</A></PRE><DL><DD>Invokes an operation on a managed object.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - The object name of the managed object on which the method is to be invoked.<DD><CODE>operationName</CODE> - The name of the operation to be invoked.<DD><CODE>params</CODE> - An array containing the parameters to be set when the operation is invoked<DD><CODE>signature</CODE> - An array containing the signature of the operation. The class objects will be loaded using the same class loader as the one used for loading the managed object on which the operation was invoked.<DT><B>Returns:</B><DD>The object returned by the operation, which represents the result of invoking the operation on the managed object specified.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5/docs/api/javax/management/InstanceNotFoundException.html" title="class or interface in javax.management">InstanceNotFoundException</A></CODE> - The managed object specified is not registered in the MEJB.<DD><CODE><A HREF="http://java.sun.com/j2se/1.5/docs/api/javax/management/MBeanException.html" title="class or interface in javax.management">MBeanException</A></CODE> - Wraps an exception thrown by the managed object's invoked method.<DD><CODE><A HREF="http://java.sun.com/j2se/1.5/docs/api/javax/management/ReflectionException.html" title="class or interface in javax.management">ReflectionException</A></CODE> - Wraps a <CODE>java.lang.Exception</CODE> thrown while trying to invoke the method.<DD><CODE><A HREF="http://java.sun.com/j2se/1.5/docs/api/java/rmi/RemoteException.html" title="class or interface in java.rmi">RemoteException</A></CODE> - A communication exception occurred during the execution of a remote method call</DL></DD></DL><HR><A NAME="getDefaultDomain()"><!-- --></A><H3>getDefaultDomain</H3><PRE><A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getDefaultDomain</B>()                        throws <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/rmi/RemoteException.html" title="class or interface in java.rmi">RemoteException</A></PRE><DL><DD>Returns the default domain name of this MEJB.<P><DD><DL></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5/docs/api/java/rmi/RemoteException.html" title="class or interface in java.rmi">RemoteException</A></CODE> - A communication exception occurred during the execution of a remote method call</DL></DD></DL><HR><A NAME="getListenerRegistry()"><!-- --></A><H3>getListenerRegistry</H3><PRE><A HREF="../../../javax/management/j2ee/ListenerRegistration.html" title="interface in javax.management.j2ee">ListenerRegistration</A> <B>getListenerRegistry</B>()                                         throws <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/rmi/RemoteException.html" title="class or interface in java.rmi">RemoteException</A></PRE><DL><DD>Returns the listener registry implementation for this MEJB. The listener registry implements the methods that enable clints to add and remove event notification listeners managed objects<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>An implementation of <CODE>javax.management.j2ee.ListenerRegistration</CODE><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5/docs/api/java/rmi/RemoteException.html" title="class or interface in java.rmi">RemoteException</A></CODE> - A communication exception occurred during the execution of a remote method call</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>&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></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../javax/management/j2ee/ListenerRegistration.html" title="interface in javax.management.j2ee"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../javax/management/j2ee/ManagementHome.html" title="interface in javax.management.j2ee"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html?javax/management/j2ee/Management.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="Management.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;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&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 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to <a href="../legal/license.html" target="_top">license terms.</a></font></BODY></HTML>

⌨️ 快捷键说明

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