org.jboss.remoting.network
Class NetworkNotification

java.lang.Object
  extended by java.util.EventObject
      extended by javax.management.Notification
          extended by org.jboss.remoting.network.NetworkNotification
All Implemented Interfaces:
java.io.Serializable

public class NetworkNotification
extends javax.management.Notification

NetworkNotification is a JMX Notification that is sent when changes occur to the network layout as tracked by a NetworkRegistryMBean.

Version:
$Revision: 566 $
Author:
Jeff Haynie
See Also:
Serialized Form

Field Summary
static java.lang.String DOMAIN_CHANGED
           
static java.lang.String SERVER_ADDED
           
static java.lang.String SERVER_REMOVED
           
static java.lang.String SERVER_UPDATED
           
 
Fields inherited from class javax.management.Notification
source
 
Constructor Summary
NetworkNotification(javax.management.ObjectName source, java.lang.String type, Identity identity, InvokerLocator[] locators)
           
NetworkNotification(javax.management.ObjectName source, java.lang.String type, Identity identity, ServerInvokerMetadata[] serverInvokers)
           
 
Method Summary
 Identity getIdentity()
          return the identity of the notification
 InvokerLocator[] getLocator()
          return the locators affected by the notification
 ServerInvokerMetadata[] getServerInvokers()
          Gets all the server invoker metadata for the servers running on specified server.
 
Methods inherited from class javax.management.Notification
getMessage, getSequenceNumber, getTimeStamp, getType, getUserData, setSequenceNumber, setSource, setTimeStamp, setUserData, toString
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SERVER_ADDED

public static final java.lang.String SERVER_ADDED
See Also:
Constant Field Values

SERVER_UPDATED

public static final java.lang.String SERVER_UPDATED
See Also:
Constant Field Values

SERVER_REMOVED

public static final java.lang.String SERVER_REMOVED
See Also:
Constant Field Values

DOMAIN_CHANGED

public static final java.lang.String DOMAIN_CHANGED
See Also:
Constant Field Values
Constructor Detail

NetworkNotification

public NetworkNotification(javax.management.ObjectName source,
                           java.lang.String type,
                           Identity identity,
                           ServerInvokerMetadata[] serverInvokers)

NetworkNotification

public NetworkNotification(javax.management.ObjectName source,
                           java.lang.String type,
                           Identity identity,
                           InvokerLocator[] locators)
Method Detail

getIdentity

public final Identity getIdentity()
return the identity of the notification

Returns:

getLocator

public final InvokerLocator[] getLocator()
return the locators affected by the notification

Returns:

getServerInvokers

public final ServerInvokerMetadata[] getServerInvokers()
Gets all the server invoker metadata for the servers running on specified server. Will include locator and supported subsystems for that locator.

Returns:


Copyright © 1998-2005 JBoss Inc . All Rights Reserved.