public final class TransactionNotification extends EnrichedServerNotification
Notification.Action
Modifier and Type | Field and Description |
---|---|
static int |
TRANSACTION_BEGAN |
static int |
TRANSACTION_COMMITTED |
static int |
TRANSACTION_ROLLEDBACK |
notificationInfo
action, ADMIN_EVENT_ACTION_START_RANGE, ASYNC_MESSAGE_EVENT_ACTION_START_RANGE, CLUSTER_NODE_EVENT_ACTION_START_RANGE, COMPONENT_EVENT_ACTION_START_RANGE, CONNECTION_EVENT_ACTION_START_RANGE, CONTEXT_EVENT_ACTION_START_RANGE, CUSTOM_EVENT_ACTION_START_RANGE, EXCEPTION_EVENT_ACTION_START_RANGE, EXCEPTION_STRATEGY_MESSAGE_EVENT_ACTION_START_RANGE, FLOW_CONSTRUCT_EVENT_ACTION_START_RANGE, MANAGEMENT_EVENT_ACTION_START_RANGE, MESSAGE_EVENT_ACTION_START_RANGE, MESSAGE_EVENT_END_ACTION_START_RANGE, MESSAGE_PROCESSOR_EVENT_ACTION_START_RANGE, NO_ACTION_ID, NO_ACTION_NAME, NULL_ACTION, NULL_MESSAGE, PIPELINE_MESSAGE_EVENT_ACTION_START_RANGE, POLICY_MESSAGE_EVENT_ACTION_START_RANGE, REGISTRY_EVENT_ACTION_START_RANGE, resourceIdentifier, ROUTING_EVENT_ACTION_START_RANGE, SECURITY_EVENT_ACTION_START_RANGE, serverId, SPACE_EVENT_ACTION_START_RANGE, timestamp, TRANSACTION_EVENT_ACTION_START_RANGE, TYPE_ERROR, TYPE_FATAL, TYPE_INFO, TYPE_TRACE, TYPE_WARNING
source
Constructor and Description |
---|
TransactionNotification(String id,
int action) |
TransactionNotification(String id,
int action,
String applicationName) |
Modifier and Type | Method and Description |
---|---|
String |
getApplicationName() |
String |
getEventName()
The name that identifies this particular notification type.
|
String |
getTransactionStringId() |
boolean |
isSynchronous()
Indicates the synchronicity of the processing of this notification.
|
String |
toString() |
getComponent, getEvent, getException, getInfo, getLocationUri, getSource
getAction, getActionId, getActionName, getActionName, getResourceIdentifier, getServerId, getTimestamp, getType, registerAction, setServerId
public static final int TRANSACTION_BEGAN
public static final int TRANSACTION_COMMITTED
public static final int TRANSACTION_ROLLEDBACK
public TransactionNotification(String id, int action)
public String getApplicationName()
public String getTransactionStringId()
public String toString()
toString
in class EnrichedServerNotification
public boolean isSynchronous()
Notification
NotificationDispatcher.dispatch(Notification)
or will be dispatched to a Scheduler
for asynchronous
processing.public String getEventName()
AbstractServerNotification
getEventName
in class AbstractServerNotification
Copyright © 2018. All rights reserved.