org.mule.impl.internal.events
Class ComponentEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.mule.umo.manager.UMOServerEvent
          extended byorg.mule.impl.internal.events.ComponentEvent
All Implemented Interfaces:
java.io.Serializable

public class ComponentEvent
extends UMOServerEvent

ComponentEvent 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.

Version:
$Revision: 1.3 $
Author:
Ross Mason
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
           
 
Fields inherited from class org.mule.umo.manager.UMOServerEvent
action, ADMIN_EVENT_ACTION_START_RANGE, COMPONENT_EVENT_ACTION_START_RANGE, CUSTOM_EVENT_ACTION_START_RANGE, MANAGEMENT_EVENT_ACTION_START_RANGE, MANAGER_EVENT_ACTION_START_RANGE, MODEL_EVENT_ACTION_START_RANGE, NULL_ACTION, NULL_MESSAGE, SECURITY_EVENT_ACTION_START_RANGE
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ComponentEvent(java.lang.Object message, int action)
           
 
Method Summary
protected  java.lang.String getActionName(int action)
           
protected  java.lang.String getPayloadToString()
           
 
Methods inherited from class org.mule.umo.manager.UMOServerEvent
getAction, 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
Constructor Detail

ComponentEvent

public ComponentEvent(java.lang.Object message,
                      int action)
Method Detail

getPayloadToString

protected java.lang.String getPayloadToString()
Overrides:
getPayloadToString in class UMOServerEvent

getActionName

protected java.lang.String getActionName(int action)
Specified by:
getActionName in class UMOServerEvent


Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.