public abstract class AbstractServerNotification extends EventObject implements Notification
AbstractServerNotification is an event triggered by something happening in the Server itself such as the server
starting or a service being registered.Notification.Actionsource| Constructor and Description |
|---|
AbstractServerNotification(Object message,
int action) |
AbstractServerNotification(Object message,
int action,
String resourceIdentifier) |
| Modifier and Type | Method and Description |
|---|---|
IntegerAction |
getAction()
Informs the kind of event that caused this notification to be fired.
|
static int |
getActionId(String action) |
String |
getActionName() |
static String |
getActionName(int action) |
abstract String |
getEventName()
The name that identifies this particular notification type.
|
String |
getResourceIdentifier() |
String |
getServerId() |
long |
getTimestamp() |
String |
getType() |
protected static void |
registerAction(String name,
int i) |
void |
setServerId(String serverId) |
String |
toString() |
getSourceclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisSynchronouspublic 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 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
protected static final int POLICY_MESSAGE_EVENT_ACTION_START_RANGE
protected static final int PROFILING_ACTION_START_RANGE
public static final int CUSTOM_EVENT_ACTION_START_RANGE
public static final int NULL_ACTION
public static final Object NULL_MESSAGE
protected String serverId
protected long timestamp
protected int action
protected String resourceIdentifier
public AbstractServerNotification(Object message, int action)
public void setServerId(String serverId)
public IntegerAction getAction()
NotificationgetAction in interface Notificationpublic String getServerId()
public String getResourceIdentifier()
public long getTimestamp()
public String toString()
toString in class EventObjectpublic 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)
public abstract String getEventName()
Copyright © 2024 MuleSoft, Inc.. All rights reserved.