org.mule.example.notifications
Class HeartbeatNotification
java.lang.Object
java.util.EventObject
org.mule.api.context.notification.ServerNotification
org.mule.context.notification.CustomNotification
org.mule.example.notifications.HeartbeatNotification
- All Implemented Interfaces:
- Serializable, MuleContextAware, BlockingServerEvent
public class HeartbeatNotification
- extends CustomNotification
- implements BlockingServerEvent
A simple notification that fires repeatedly to notify tha the Mule server is alive
and well.
- See Also:
- Serialized Form
Fields inherited from class org.mule.api.context.notification.ServerNotification |
action, ADMIN_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, EVENT_NAME, EXCEPTION_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, MODEL_EVENT_ACTION_START_RANGE, muleContext, NO_ACTION_ID, NO_ACTION_NAME, NULL_ACTION, NULL_MESSAGE, REGISTRY_EVENT_ACTION_START_RANGE, resourceIdentifier, ROUTING_EVENT_ACTION_START_RANGE, SECURITY_EVENT_ACTION_START_RANGE, serverId, SERVICE_EVENT_ACTION_START_RANGE, SPACE_EVENT_ACTION_START_RANGE, timestamp, TRANSACTION_EVENT_ACTION_START_RANGE, TYPE_ERROR, TYPE_FATAL, TYPE_INFO, TYPE_TRACE, TYPE_WARNING |
Methods inherited from class org.mule.api.context.notification.ServerNotification |
cloneMessage, generateId, getAction, getActionId, getActionName, getActionName, getPayloadToString, getResourceIdentifier, getServerId, getTimestamp, getType, isResourceIdentifierAnUri, registerAction, setMuleContext |
HEARTBEAT
public static final int HEARTBEAT
- See Also:
- Constant Field Values
HeartbeatNotification
public HeartbeatNotification(MuleContext context)
getHostInfo
protected static String getHostInfo()
toString
public String toString()
- Overrides:
toString
in class ServerNotification
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.