org.norther.tammi.core.model
Class AdaptableNotification

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.model.AdaptableNotification
All Implemented Interfaces:
Serializable

public class AdaptableNotification
extends ReferableNotification

A notification of adapters sent after their adaptee has changed.

Version:
$Id: AdaptableNotification.java,v 1.6 2009/09/28 15:08:44 cvsimp Exp $
Author:
Ilkka Priha
See Also:
Serialized Form

Field Summary
static String ADAPTEE_CHANGED
          The creation notification.
 
Fields inherited from class org.norther.tammi.core.base.ReferableNotification
GENERIC
 
Fields inherited from class javax.management.Notification
source
 
Constructor Summary
AdaptableNotification(MBeanReference<?> src, long sequenceNumber, long timeStamp, String message, Object oldA, Object newA)
          Creates a notification.
 
Method Summary
 Object getNewAdaptee()
          Gets the new adaptee.
 Object getOldAdaptee()
          Gets the old adaptee.
 
Methods inherited from class org.norther.tammi.core.base.ReferableNotification
getMBean
 
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

ADAPTEE_CHANGED

public static final String ADAPTEE_CHANGED
The creation notification.

Constructor Detail

AdaptableNotification

public AdaptableNotification(MBeanReference<?> src,
                             long sequenceNumber,
                             long timeStamp,
                             String message,
                             Object oldA,
                             Object newA)
Creates a notification.

Parameters:
src - the notification source.
sequenceNumber - the sequence number.
timeStamp - the time stamp.
message - the notification message.
oldA - the old adaptee.
newA - the new adaptee.
Method Detail

getOldAdaptee

public Object getOldAdaptee()
Gets the old adaptee.

Returns:
the old adaptee.

getNewAdaptee

public Object getNewAdaptee()
Gets the new adaptee.

Returns:
the new adaptee.


Copyright © 2004 The Norther Organization. All rights reserved.