This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


javax.management.remote
class TargetedNotification

java.lang.Object extended by javax.management.remote.TargetedNotification
All Implemented Interfaces:
Serializable

public class TargetedNotification
extends Object
implements Serializable

A (Notification, Listener ID) pair.

This class is used to associate an emitted notification with the listener ID to which it is targeted.


Constructor Summary
TargetedNotification(Notification notification, Integer listenerID)

          Constructs a TargetedNotification object.
 
Method Summary
 Integer

          The ID of the listener to which the notification is targeted.
 Notification

          The emitted notification.
 String

          Returns a textual representation of this Targeted Notification.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TargetedNotification

public TargetedNotification(Notification notification,
                            Integer listenerID)

Constructs a TargetedNotification object. The object contains a pair (Notification, Listener ID). The Listener ID identifies the client listener to which that notification is targeted. The client listener ID is one previously returned by the connector server in response to an addNotificationListener request.

Parameters:
notification - Notification emitted from the MBean server.
listenerID - The ID of the listener to which this notification is targeted.
Method Detail

getListenerID

public Integer getListenerID()

The ID of the listener to which the notification is targeted.

Returns:
The listener ID.

getNotification

public Notification getNotification()

The emitted notification.

Returns:
The notification.

toString

public String toString()
Returns a textual representation of this Targeted Notification.

Overrides:
toString in class Object
Returns:
a String representation of this Targeted Notification.


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
The official Sun™ documentation can be found here at http://java.sun.com/javase/6/docs/api/.