org.mule.impl.internal.notifications
Class ComponentNotification

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.mule.umo.manager.UMOServerNotification
          extended byorg.mule.impl.internal.notifications.ComponentNotification
All Implemented Interfaces:
Serializable

public class ComponentNotification
extends UMOServerNotification

ComponentNotification is fired when an event such as the component starting occurs. The payload of this event will always be a reference to the component Descriptor.

See Also:
MuleDescriptor, UMODescriptor, Serialized Form

Field Summary
static int COMPONENT_DISPOSED
           
static int COMPONENT_INITIALISED
           
static int COMPONENT_PAUSED
           
static int COMPONENT_RESUMED
           
static int COMPONENT_STARTED
           
static int COMPONENT_STOPPED
           
static int COMPONENT_STOPPING
           
 
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
ComponentNotification(UMODescriptor message, int action)
           
 
Method Summary
protected  String getActionName(int action)
           
protected  String getPayloadToString()
           
 
Methods inherited from class org.mule.umo.manager.UMOServerNotification
getAction, getActionName, getResourceIdentifier, getServerId, getTimestamp, getType, isResourceIdentifierAnUri, 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

COMPONENT_INITIALISED

public static final int COMPONENT_INITIALISED
See Also:
Constant Field Values

COMPONENT_STARTED

public static final int COMPONENT_STARTED
See Also:
Constant Field Values

COMPONENT_STOPPED

public static final int COMPONENT_STOPPED
See Also:
Constant Field Values

COMPONENT_PAUSED

public static final int COMPONENT_PAUSED
See Also:
Constant Field Values

COMPONENT_RESUMED

public static final int COMPONENT_RESUMED
See Also:
Constant Field Values

COMPONENT_DISPOSED

public static final int COMPONENT_DISPOSED
See Also:
Constant Field Values

COMPONENT_STOPPING

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

ComponentNotification

public ComponentNotification(UMODescriptor message,
                             int action)
Method Detail

getPayloadToString

protected String getPayloadToString()
Overrides:
getPayloadToString in class UMOServerNotification

getActionName

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


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