org.norther.tammi.core.relation
Class RelationNotification

java.lang.Object
  extended by java.util.EventObject
      extended by javax.management.Notification
          extended by org.norther.tammi.core.base.ReferableNotification
              extended by org.norther.tammi.core.relation.RelationNotification
All Implemented Interfaces:
Serializable, MBeanReference

public class RelationNotification
extends ReferableNotification

A notification of RelationMBeans sent after creation and after removal from the relation service.

Author:
Ilkka Priha
See Also:
Serialized Form

Field Summary
static String RELATION_CREATED
          The creation notification.
static String RELATION_REMOVED
          The removal notification.
 
Fields inherited from class org.norther.tammi.core.base.ReferableNotification
GENERIC
 
Fields inherited from class javax.management.Notification
source
 
Constructor Summary
RelationNotification(String type, MBeanReference src, long sequenceNumber)
          Creates a notification.
RelationNotification(String type, MBeanReference src, long sequenceNumber, long timeStamp)
          Creates a notification with a time stamp.
RelationNotification(String type, MBeanReference src, long sequenceNumber, long timeStamp, String message)
          Creates a notification with a time stamp and message.
RelationNotification(String type, MBeanReference src, long sequenceNumber, String message)
          Creates a notification with a message.
 
Method Summary
 
Methods inherited from class org.norther.tammi.core.base.ReferableNotification
get, getClassName, getMBeanServer, getObjectName, isRegistered
 
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

RELATION_CREATED

public static final String RELATION_CREATED
The creation notification.


RELATION_REMOVED

public static final String RELATION_REMOVED
The removal notification.

Constructor Detail

RelationNotification

public RelationNotification(String type,
                            MBeanReference src,
                            long sequenceNumber)
Creates a notification.

Parameters:
type - the notification type.
src - the notification source.
sequenceNumber - the sequence number.

RelationNotification

public RelationNotification(String type,
                            MBeanReference src,
                            long sequenceNumber,
                            String message)
Creates a notification with a message.

Parameters:
type - the notification type.
src - the notification source.
sequenceNumber - the sequence number.
message - the notification message.

RelationNotification

public RelationNotification(String type,
                            MBeanReference src,
                            long sequenceNumber,
                            long timeStamp)
Creates a notification with a time stamp.

Parameters:
type - the notification type.
src - the notification source.
sequenceNumber - the sequence number.
timeStamp - the time stamp.

RelationNotification

public RelationNotification(String type,
                            MBeanReference src,
                            long sequenceNumber,
                            long timeStamp,
                            String message)
Creates a notification with a time stamp and message.

Parameters:
type - the notification type.
src - the notification source.
sequenceNumber - the sequence number.
timeStamp - the time stamp.
message - the notification message.


Copyright © 2004 The Norther Organization. All rights reserved.