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

📄 relationnotification.html

📁 j2ee api,很好的api。我这现在有
💻 HTML
📖 第 1 页 / 共 3 页
字号:
 <P>- RELATION_BASIC_REMOVAL <P>- RELATION_MBEAN_REMOVAL<DD><CODE>theSrcObj</CODE> - source object, sending the notification. Will always be a RelationService object.<DD><CODE>TheSeqNbr</CODE> - sequence number to identify the notification<DD><CODE>theTimeStamp</CODE> - time stamp<DD><CODE>theMsg</CODE> - human-readable message describing the notification<DD><CODE>theRelId</CODE> - relation id identifying the relation in the Relation Service<DD><CODE>theRelTypeName</CODE> - name of the relation type<DD><CODE>theRelObjName</CODE> - ObjectName of the relation object if it is an MBean (null for relations internally handled by the Relation Service)<DD><CODE>theUnregMBeanList</CODE> - list of ObjectNames of referenced MBeans expected to be unregistered due to relation removal (only for removal, due to CIM qualifiers, can be null)<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: <P>- no value for the notification type <P>- the notification type is not RELATION_BASIC_CREATION, RELATION_MBEAN_CREATION, RELATION_BASIC_REMOVAL or RELATION_MBEAN_REMOVAL <P>- no source object <P>- the source object is not a Relation Service <P>- no relation id <P>- no relation type name</DL><HR><A NAME="RelationNotification(java.lang.String, java.lang.Object, long, long, java.lang.String, java.lang.String, java.lang.String, javax.management.ObjectName, java.lang.String, java.util.List, java.util.List)"><!-- --></A><H3>RelationNotification</H3><PRE>public <B>RelationNotification</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;theNtfType,                            <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;theSrcObj,                            long&nbsp;TheSeqNbr,                            long&nbsp;theTimeStamp,                            <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;theMsg,                            <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;theRelId,                            <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;theRelTypeName,                            <A HREF="../../../javax/management/ObjectName.html" title="class in javax.management">ObjectName</A>&nbsp;theRelObjName,                            <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;theRoleName,                            <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util">List</A>&nbsp;theNewRoleValue,                            <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util">List</A>&nbsp;theOldRoleValue)                     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>Creates a notification for a role update in a relation.<P><DT><B>Parameters:</B><DD><CODE>theNtfType</CODE> - type of the notification; either: <P>- RELATION_BASIC_UPDATE <P>- RELATION_MBEAN_UPDATE<DD><CODE>theSrcObj</CODE> - source object, sending the notification. Will always be a RelationService object.<DD><CODE>TheSeqNbr</CODE> - sequence number to identify the notification<DD><CODE>theTimeStamp</CODE> - time stamp<DD><CODE>theMsg</CODE> - human-readable message describing the notification<DD><CODE>theRelId</CODE> - relation id identifying the relation in the Relation Service<DD><CODE>theRelTypeName</CODE> - name of the relation type<DD><CODE>theRelObjName</CODE> - ObjectName of the relation object if it is an MBean (null for relations internally handled by the Relation Service)<DD><CODE>theRoleName</CODE> - name of the updated role<DD><CODE>theNewRoleValue</CODE> - new value (ArrayList of ObjectName objects)<DD><CODE>theOldRoleValue</CODE> - old value (ArrayList of ObjectName objects)<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 null parameter</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="getRelationId()"><!-- --></A><H3>getRelationId</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>getRelationId</B>()</PRE><DL><DD>Returns the relation identifier of created/removed/updated relation.<P><DD><DL><DT><B>Returns:</B><DD>the relation id.</DL></DD></DL><HR><A NAME="getRelationTypeName()"><!-- --></A><H3>getRelationTypeName</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>getRelationTypeName</B>()</PRE><DL><DD>Returns the relation type name of created/removed/updated relation.<P><DD><DL><DT><B>Returns:</B><DD>the relation type name.</DL></DD></DL><HR><A NAME="getObjectName()"><!-- --></A><H3>getObjectName</H3><PRE>public <A HREF="../../../javax/management/ObjectName.html" title="class in javax.management">ObjectName</A> <B>getObjectName</B>()</PRE><DL><DD>Returns the ObjectName of the created/removed/updated relation.<P><DD><DL><DT><B>Returns:</B><DD>the ObjectName if the relation is an MBean, otherwise null.</DL></DD></DL><HR><A NAME="getMBeansToUnregister()"><!-- --></A><H3>getMBeansToUnregister</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util">List</A> <B>getMBeansToUnregister</B>()</PRE><DL><DD>Returns the list of ObjectNames of MBeans expected to be unregistered due to a relation removal (only for relation removal).<P><DD><DL><DT><B>Returns:</B><DD>a <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util"><CODE>List</CODE></A> of <A HREF="../../../javax/management/ObjectName.html" title="class in javax.management"><CODE>ObjectName</CODE></A>.</DL></DD></DL><HR><A NAME="getRoleName()"><!-- --></A><H3>getRoleName</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>getRoleName</B>()</PRE><DL><DD>Returns name of updated role of updated relation (only for role update).<P><DD><DL><DT><B>Returns:</B><DD>the name of the updated role.</DL></DD></DL><HR><A NAME="getOldRoleValue()"><!-- --></A><H3>getOldRoleValue</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util">List</A> <B>getOldRoleValue</B>()</PRE><DL><DD>Returns old value of updated role (only for role update).<P><DD><DL><DT><B>Returns:</B><DD>the old value of the updated role.</DL></DD></DL><HR><A NAME="getNewRoleValue()"><!-- --></A><H3>getNewRoleValue</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util">List</A> <B>getNewRoleValue</B>()</PRE><DL><DD>Returns new value of updated role (only for role update).<P><DD><DL><DT><B>Returns:</B><DD>the new value of the updated role.</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/relation/MBeanServerNotificationFilter.html" title="class in javax.management.relation"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../javax/management/relation/RelationService.html" title="class in javax.management.relation"><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="RelationNotification.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 + -