fr.dyade.aaa.agent
Class Notification

java.lang.Object
  extended by fr.dyade.aaa.agent.Notification
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
AbstractNotification, AdminAckStartStopNot, AdminNotification, AdminReplyNot, AdminRequestNot, AdminStartStopNot, AgentCreateReply, AgentCreateRequest, AgentDeleteRequest, BridgeAckNot, BridgeDeliveryNot, CloseConnectionNot, DeleteAck, DeleteNot, DestinationAdminRequestNot, DriverDone, ExceptionNotification, FlowControlNot, InitJndiServerNot, JndiReplyNot, JndiScriptReplyNot, JndiScriptRequestNot, JndiUpdateNot, ProxyMessageNot, QueueClusterNot, RegisterTmpDestNot, RequestNot, ResetCollocatedConnectionsNot, ReturnConnectionNot, SendReplyNot, SyncNotification, SyncReplyNot, SyncRequestNot, TcpRequestNot, UnknownAgent, UnknownNotification, UserAdminRequestNot, WakeUpNot

public class Notification
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable

Class Notification is the root of the notifications hierarchy. Every notification's class has Notification as a superclass.

See Also:
Serialized Form

Field Summary
protected  boolean detachable
          True if the notification is detachable, false otherwise.
protected  boolean detached
          True if the notification is detached, false otherwise.
protected  boolean persistent
          True if the notification is persistent, false otherwise.
 
Constructor Summary
Notification()
           
 
Method Summary
 java.lang.Object clone()
          Returns a clone of this notification.
 java.lang.Object getContext()
          Returns the context of the notification.
 java.lang.String getMessageId()
           
 void setContext(java.lang.Object context)
          Sets the context of the notification.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

persistent

protected boolean persistent
True if the notification is persistent, false otherwise.


detachable

protected transient boolean detachable
True if the notification is detachable, false otherwise. A detachable notification is saved in a different object that its containing message.


detached

protected transient boolean detached
True if the notification is detached, false otherwise. A detached notification is not destroyed in the same way that its containing message.

Constructor Detail

Notification

public Notification()
Method Detail

getMessageId

public java.lang.String getMessageId()

setContext

public final void setContext(java.lang.Object context)
Sets the context of the notification.

Parameters:
context - the context of the notification.

getContext

public final java.lang.Object getContext()
Returns the context of the notification.

Returns:
the context of the notification.

clone

public java.lang.Object clone()
Returns a clone of this notification.

Overrides:
clone in class java.lang.Object
Returns:
a clone of this notification.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2004 Scalagent - All rights reserved