|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
javax.management.Notification
org.norther.tammi.core.base.ReferableNotification
org.norther.tammi.core.relation.RoleNotification
public class RoleNotification
An extended notification of RelationMBeans sent after modification of roles.
| Field Summary | |
|---|---|
static String |
ROLE_MODIFIED
The relation modified notification. |
| Fields inherited from class org.norther.tammi.core.base.ReferableNotification |
|---|
GENERIC |
| Fields inherited from class javax.management.Notification |
|---|
source |
| Constructor Summary | |
|---|---|
RoleNotification(String type,
MBeanReference src,
long sequenceNumber,
long timeStamp,
String theRoleName,
List theNewRoleValue,
List theOldRoleValue,
ObjectName addedActor,
ObjectName removedActor)
Creates a notification with a time stamp. |
|
RoleNotification(String type,
MBeanReference src,
long sequenceNumber,
long timeStamp,
String message,
String theRoleName,
List theNewRoleValue,
List theOldRoleValue,
ObjectName addedActor,
ObjectName removedActor)
Creates a notification with a time stamp and message. |
|
RoleNotification(String type,
MBeanReference src,
long sequenceNumber,
String theRoleName,
List theNewRoleValue,
List theOldRoleValue,
ObjectName addedActor,
ObjectName removedActor)
Creates a notification. |
|
RoleNotification(String type,
MBeanReference src,
long sequenceNumber,
String message,
String theRoleName,
List theNewRoleValue,
List theOldRoleValue,
ObjectName addedActor,
ObjectName removedActor)
Creates a notification with a message. |
|
| Method Summary | |
|---|---|
Collection |
getAddedActorMBeans()
Gets the added actor MBeans, if any. |
List |
getNewRoleValue()
Gets the unmodifiable new value of the role. |
List |
getOldRoleValue()
Gets the unmodifiable old value of the role. |
Collection |
getRemovedActors()
Gets the removed actors, if any. |
String |
getRoleName()
Gets the name of the modified role. |
| 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 |
|---|
public static final String ROLE_MODIFIED
| Constructor Detail |
|---|
public RoleNotification(String type,
MBeanReference src,
long sequenceNumber,
String theRoleName,
List theNewRoleValue,
List theOldRoleValue,
ObjectName addedActor,
ObjectName removedActor)
type - the notification type.src - the notification source.sequenceNumber - the sequence number.theRoleName - the name of the role.theNewRoleValue - the new value of the role.theOldRoleValue - the old value of the role.addedActor - an optional added actor.removedActor - an optional removed actor.
public RoleNotification(String type,
MBeanReference src,
long sequenceNumber,
String message,
String theRoleName,
List theNewRoleValue,
List theOldRoleValue,
ObjectName addedActor,
ObjectName removedActor)
type - the notification type.src - the notification source.sequenceNumber - the sequence number.message - the notification message.theRoleName - the name of the role.theNewRoleValue - the new value of the role.theOldRoleValue - the old value of the role.addedActor - an optional added actor.removedActor - an optional removed actor.
public RoleNotification(String type,
MBeanReference src,
long sequenceNumber,
long timeStamp,
String theRoleName,
List theNewRoleValue,
List theOldRoleValue,
ObjectName addedActor,
ObjectName removedActor)
type - the notification type.src - the notification source.sequenceNumber - the sequence number.timeStamp - the time stamp.theRoleName - the name of the role.theNewRoleValue - the new value of the role.theOldRoleValue - the old value of the role.addedActor - an optional added actor.removedActor - an optional removed actor.
public RoleNotification(String type,
MBeanReference src,
long sequenceNumber,
long timeStamp,
String message,
String theRoleName,
List theNewRoleValue,
List theOldRoleValue,
ObjectName addedActor,
ObjectName removedActor)
type - the notification type.src - the notification source.sequenceNumber - the sequence number.timeStamp - the time stamp.message - the notification message.theRoleName - the name of the role.theNewRoleValue - the new value of the role.theOldRoleValue - the old value of the role.addedActor - an optional added actor.removedActor - an optional removed actor.| Method Detail |
|---|
public String getRoleName()
public List getNewRoleValue()
public List getOldRoleValue()
public Collection getRemovedActors()
public Collection getAddedActorMBeans()
Note that this call should happen within a synchronized block during the modification, otherwise the list may not correspond exactly with the point of modification.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||