📄 mbeanservernotificationfilter.html
字号:
<P><!-- ============ FIELD DETAIL =========== --><!-- ========= 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="MBeanServerNotificationFilter()"><!-- --></A><H3>MBeanServerNotificationFilter</H3><PRE>public <B>MBeanServerNotificationFilter</B>()</PRE><DL><DD>Creates a filter selecting all MBeanServerNotification notifications for all ObjectNames.<P></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="disableAllObjectNames()"><!-- --></A><H3>disableAllObjectNames</H3><PRE>public void <B>disableAllObjectNames</B>()</PRE><DL><DD>Disables any MBeanServerNotification (all ObjectNames are deselected).<P><DD><DL></DL></DD></DL><HR><A NAME="disableObjectName(javax.management.ObjectName)"><!-- --></A><H3>disableObjectName</H3><PRE>public void <B>disableObjectName</B>(<A HREF="../../../javax/management/ObjectName.html" title="class in javax.management">ObjectName</A> theObjName) 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>Disables MBeanServerNotifications concerning given ObjectName.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>theObjName</CODE> - ObjectName no longer of interest<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 given ObjectName is null</DL></DD></DL><HR><A NAME="enableAllObjectNames()"><!-- --></A><H3>enableAllObjectNames</H3><PRE>public void <B>enableAllObjectNames</B>()</PRE><DL><DD>Enables all MBeanServerNotifications (all ObjectNames are selected).<P><DD><DL></DL></DD></DL><HR><A NAME="enableObjectName(javax.management.ObjectName)"><!-- --></A><H3>enableObjectName</H3><PRE>public void <B>enableObjectName</B>(<A HREF="../../../javax/management/ObjectName.html" title="class in javax.management">ObjectName</A> theObjName) 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>Enables MBeanServerNotifications concerning given ObjectName.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>theObjName</CODE> - ObjectName of interest<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 given ObjectName is null</DL></DD></DL><HR><A NAME="getEnabledObjectNames()"><!-- --></A><H3>getEnabledObjectNames</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Vector.html" title="class or interface in java.util">Vector</A> <B>getEnabledObjectNames</B>()</PRE><DL><DD>Gets all the ObjectNames enabled.<P><DD><DL><DT><B>Returns:</B><DD>Vector of ObjectNames: <P>- null means all ObjectNames are implicitly selected, except the ObjectNames explicitly deselected <P>- empty means all ObjectNames are deselected, i.e. no ObjectName selected.</DL></DD></DL><HR><A NAME="getDisabledObjectNames()"><!-- --></A><H3>getDisabledObjectNames</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Vector.html" title="class or interface in java.util">Vector</A> <B>getDisabledObjectNames</B>()</PRE><DL><DD>Gets all the ObjectNames disabled.<P><DD><DL><DT><B>Returns:</B><DD>Vector of ObjectNames: <P>- null means all ObjectNames are implicitly deselected, except the ObjectNames explicitly selected <P>- empty means all ObjectNames are selected, i.e. no ObjectName deselected.</DL></DD></DL><HR><A NAME="isNotificationEnabled(javax.management.Notification)"><!-- --></A><H3>isNotificationEnabled</H3><PRE>public boolean <B>isNotificationEnabled</B>(<A HREF="../../../javax/management/Notification.html" title="class in javax.management">Notification</A> theNtf) 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>Invoked before sending the specified notification to the listener. <P>If: <P>- the ObjectName of the concerned MBean is selected (explicitly OR (implicitly and not explicitly deselected)) <P>AND <P>- the type of the operation (registration or unregistration) is selected <P>then the notification is sent to the listener.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/management/NotificationFilter.html#isNotificationEnabled(javax.management.Notification)">isNotificationEnabled</A></CODE> in interface <CODE><A HREF="../../../javax/management/NotificationFilter.html" title="interface in javax.management">NotificationFilter</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/management/NotificationFilterSupport.html#isNotificationEnabled(javax.management.Notification)">isNotificationEnabled</A></CODE> in class <CODE><A HREF="../../../javax/management/NotificationFilterSupport.html" title="class in javax.management">NotificationFilterSupport</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>theNtf</CODE> - The notification to be sent.<DT><B>Returns:</B><DD>true if the notification has to be sent to the listener, false otherwise.<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></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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </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"> PREV CLASS <A HREF="../../../javax/management/relation/RelationNotification.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> <A HREF="MBeanServerNotificationFilter.html" target="_top"><B>NO FRAMES</B></A> <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: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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 + -