org.mule.umo.manager
Class UMOServerNotification
java.lang.Object
java.util.EventObject
org.mule.umo.manager.UMOServerNotification
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- AdminNotification, ComponentNotification, ConnectionNotification, CustomNotification, ExceptionNotification, ManagementNotification, ManagerNotification, MessageNotification, ModelNotification, SecurityNotification, TransactionNotification
public abstract class UMOServerNotification
- extends EventObject
UMOServerNotification
is an event triggered by something happening
in the Server itself such as the server starting or a component being registered
- See Also:
- Serialized Form
TYPE_INFO
public static final String TYPE_INFO
- See Also:
- Constant Field Values
TYPE_WARNING
public static final String TYPE_WARNING
- See Also:
- Constant Field Values
TYPE_ERROR
public static final String TYPE_ERROR
- See Also:
- Constant Field Values
TYPE_FATAL
public static final String TYPE_FATAL
- See Also:
- Constant Field Values
MANAGER_EVENT_ACTION_START_RANGE
public static final int MANAGER_EVENT_ACTION_START_RANGE
- See Also:
- Constant Field Values
MODEL_EVENT_ACTION_START_RANGE
public static final int MODEL_EVENT_ACTION_START_RANGE
- See Also:
- Constant Field Values
COMPONENT_EVENT_ACTION_START_RANGE
public static final int COMPONENT_EVENT_ACTION_START_RANGE
- See Also:
- Constant Field Values
SECURITY_EVENT_ACTION_START_RANGE
public static final int SECURITY_EVENT_ACTION_START_RANGE
- See Also:
- Constant Field Values
MANAGEMENT_EVENT_ACTION_START_RANGE
public static final int MANAGEMENT_EVENT_ACTION_START_RANGE
- See Also:
- Constant Field Values
ADMIN_EVENT_ACTION_START_RANGE
public static final int ADMIN_EVENT_ACTION_START_RANGE
- See Also:
- Constant Field Values
CONNECTION_EVENT_ACTION_START_RANGE
public static final int CONNECTION_EVENT_ACTION_START_RANGE
- See Also:
- Constant Field Values
MESSAGE_EVENT_ACTION_START_RANGE
public static final int MESSAGE_EVENT_ACTION_START_RANGE
- See Also:
- Constant Field Values
SPACE_EVENT_ACTION_START_RANGE
public static final int SPACE_EVENT_ACTION_START_RANGE
- See Also:
- Constant Field Values
REGISTRY_EVENT_ACTION_START_RANGE
public static final int REGISTRY_EVENT_ACTION_START_RANGE
- See Also:
- Constant Field Values
EXCEPTION_EVENT_ACTION_START_RANGE
public static final int EXCEPTION_EVENT_ACTION_START_RANGE
- See Also:
- Constant Field Values
TRANSACTION_EVENT_ACTION_START_RANGE
public static final int TRANSACTION_EVENT_ACTION_START_RANGE
- See Also:
- Constant Field Values
CUSTOM_EVENT_ACTION_START_RANGE
public static final int CUSTOM_EVENT_ACTION_START_RANGE
- See Also:
- Constant Field Values
NULL_ACTION
public static final int NULL_ACTION
- See Also:
- Constant Field Values
NULL_MESSAGE
public static final Object NULL_MESSAGE
EVENT_NAME
public final String EVENT_NAME
serverId
protected String serverId
timestamp
protected long timestamp
action
protected int action
resourceIdentifier
protected String resourceIdentifier
- The resourceIdentifier is used when firing inbound server notifications such
as Admin notifications or other action notifications triggered by an external
source Used to associate the event with a particular resource. For example, if
the event was a ComponentNotification the resourceIdentifier could be the name
of a particular component
UMOServerNotification
public UMOServerNotification(Object message,
int action)
UMOServerNotification
public UMOServerNotification(Object message,
int action,
String resourceIdentifier)
getAction
public int getAction()
getServerId
public String getServerId()
getResourceIdentifier
public String getResourceIdentifier()
getTimestamp
public long getTimestamp()
isResourceIdentifierAnUri
public boolean isResourceIdentifierAnUri()
toString
public String toString()
- Overrides:
toString
in class EventObject
getPayloadToString
protected String getPayloadToString()
getType
public String getType()
getActionName
public String getActionName()
getActionName
protected abstract String getActionName(int action)
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.