public abstract class ServerNotification extends EventObject implements MuleContextAware
ServerNotification
is an event triggered by something happening in
the Server itself such as the server starting or a service being registered.source
Constructor and Description |
---|
ServerNotification(Object message,
int action) |
ServerNotification(Object message,
int action,
String resourceIdentifier) |
Modifier and Type | Method and Description |
---|---|
protected static MuleMessage |
cloneMessage(MuleMessage message) |
protected static String |
generateId(MuleContext context) |
int |
getAction() |
static int |
getActionId(String action) |
String |
getActionName() |
static String |
getActionName(int action) |
protected String |
getPayloadToString() |
String |
getResourceIdentifier() |
String |
getServerId() |
long |
getTimestamp() |
String |
getType() |
boolean |
isResourceIdentifierAnUri() |
protected static void |
registerAction(String name,
int i) |
void |
setMuleContext(MuleContext context) |
String |
toString() |
getSource
public static final int NO_ACTION_ID
public static final String NO_ACTION_NAME
public static final String TYPE_TRACE
public static final String TYPE_INFO
public static final String TYPE_WARNING
public static final String TYPE_ERROR
public static final String TYPE_FATAL
protected static final int CONTEXT_EVENT_ACTION_START_RANGE
protected static final int MODEL_EVENT_ACTION_START_RANGE
protected static final int SERVICE_EVENT_ACTION_START_RANGE
protected static final int SECURITY_EVENT_ACTION_START_RANGE
protected static final int MANAGEMENT_EVENT_ACTION_START_RANGE
protected static final int ADMIN_EVENT_ACTION_START_RANGE
protected static final int CONNECTION_EVENT_ACTION_START_RANGE
protected static final int MESSAGE_EVENT_ACTION_START_RANGE
protected static final int MESSAGE_EVENT_END_ACTION_START_RANGE
protected static final int SPACE_EVENT_ACTION_START_RANGE
protected static final int REGISTRY_EVENT_ACTION_START_RANGE
protected static final int EXCEPTION_EVENT_ACTION_START_RANGE
protected static final int TRANSACTION_EVENT_ACTION_START_RANGE
protected static final int ROUTING_EVENT_ACTION_START_RANGE
protected static final int COMPONENT_EVENT_ACTION_START_RANGE
protected static final int FLOW_CONSTRUCT_EVENT_ACTION_START_RANGE
protected static final int MESSAGE_PROCESSOR_EVENT_ACTION_START_RANGE
protected static final int CLUSTER_NODE_EVENT_ACTION_START_RANGE
protected static final int PIPELINE_MESSAGE_EVENT_ACTION_START_RANGE
protected static final int ASYNC_MESSAGE_EVENT_ACTION_START_RANGE
protected static final int EXCEPTION_STRATEGY_MESSAGE_EVENT_ACTION_START_RANGE
public static final int CUSTOM_EVENT_ACTION_START_RANGE
public static final int NULL_ACTION
public static final Object NULL_MESSAGE
public final String EVENT_NAME
protected String serverId
protected long timestamp
protected int action
protected String resourceIdentifier
protected transient MuleContext muleContext
public ServerNotification(Object message, int action)
public void setMuleContext(MuleContext context)
setMuleContext
in interface MuleContextAware
protected static String generateId(MuleContext context)
protected static MuleMessage cloneMessage(MuleMessage message)
public int getAction()
public String getServerId()
public String getResourceIdentifier()
public long getTimestamp()
public boolean isResourceIdentifierAnUri()
public String toString()
toString
in class EventObject
protected String getPayloadToString()
public String getType()
public String getActionName()
protected static void registerAction(String name, int i)
public static String getActionName(int action)
public static int getActionId(String action)
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.