org.mule.impl.internal.notifications
Class MessageNotification

java.lang.Object
  extended by java.util.EventObject
      extended by org.mule.umo.manager.UMOServerNotification
          extended by org.mule.impl.internal.notifications.MessageNotification
All Implemented Interfaces:
Serializable

public class MessageNotification
extends UMOServerNotification

These notifications are fire when either a message is received via an endpoint, or dispatcher of if a receive call is made on a dispatcher.

See Also:
Serialized Form

Field Summary
protected static Log logger
          logger used by this class
static int MESSAGE_DISPATCHED
           
static int MESSAGE_RECEIVED
           
static int MESSAGE_REQUESTED
           
static int MESSAGE_SENT
           
 
Fields inherited from class org.mule.umo.manager.UMOServerNotification
action, ADMIN_EVENT_ACTION_START_RANGE, COMPONENT_EVENT_ACTION_START_RANGE, CONNECTION_EVENT_ACTION_START_RANGE, CUSTOM_EVENT_ACTION_START_RANGE, EVENT_NAME, EXCEPTION_EVENT_ACTION_START_RANGE, MANAGEMENT_EVENT_ACTION_START_RANGE, MANAGER_EVENT_ACTION_START_RANGE, MESSAGE_EVENT_ACTION_START_RANGE, MODEL_EVENT_ACTION_START_RANGE, NULL_ACTION, NULL_MESSAGE, REGISTRY_EVENT_ACTION_START_RANGE, resourceIdentifier, SECURITY_EVENT_ACTION_START_RANGE, serverId, SPACE_EVENT_ACTION_START_RANGE, timestamp, TRANSACTION_EVENT_ACTION_START_RANGE, TYPE_ERROR, TYPE_FATAL, TYPE_INFO, TYPE_WARNING
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
MessageNotification(UMOMessage resource, UMOImmutableEndpoint endpoint, String identifier, int action)
           
 
Method Summary
protected static UMOMessage cloneMessage(UMOMessage message)
           
protected  String getActionName(int action)
           
 UMOImmutableEndpoint getEndpoint()
           
protected  String getPayloadToString()
           
 String toString()
           
 
Methods inherited from class org.mule.umo.manager.UMOServerNotification
getAction, getActionName, getResourceIdentifier, getServerId, getTimestamp, getType, isResourceIdentifierAnUri
 
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

logger

protected static final Log logger
logger used by this class


MESSAGE_RECEIVED

public static final int MESSAGE_RECEIVED
See Also:
Constant Field Values

MESSAGE_DISPATCHED

public static final int MESSAGE_DISPATCHED
See Also:
Constant Field Values

MESSAGE_SENT

public static final int MESSAGE_SENT
See Also:
Constant Field Values

MESSAGE_REQUESTED

public static final int MESSAGE_REQUESTED
See Also:
Constant Field Values
Constructor Detail

MessageNotification

public MessageNotification(UMOMessage resource,
                           UMOImmutableEndpoint endpoint,
                           String identifier,
                           int action)
Method Detail

cloneMessage

protected static UMOMessage cloneMessage(UMOMessage message)

getPayloadToString

protected String getPayloadToString()
Overrides:
getPayloadToString in class UMOServerNotification

getActionName

protected String getActionName(int action)
Specified by:
getActionName in class UMOServerNotification

toString

public String toString()
Overrides:
toString in class UMOServerNotification

getEndpoint

public UMOImmutableEndpoint getEndpoint()


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.