org.mule.context.notification
Class ServiceNotification

java.lang.Object
  extended by java.util.EventObject
      extended by org.mule.api.context.notification.ServerNotification
          extended by org.mule.context.notification.ServiceNotification
All Implemented Interfaces:
Serializable, MuleContextAware, BlockingServerEvent

public class ServiceNotification
extends ServerNotification
implements BlockingServerEvent

ServiceNotification is fired when an event such as the service starting occurs. The payload of this event will always be a reference to the service.

See Also:
Serialized Form

Field Summary
static int SERVICE_DISPOSED
           
static int SERVICE_INITIALISED
           
static int SERVICE_PAUSED
           
static int SERVICE_RESUMED
           
static int SERVICE_STARTED
           
static int SERVICE_STOPPED
           
 
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
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ServiceNotification(Service message, int action)
           
 
Method Summary
 
Methods inherited from class org.mule.api.context.notification.ServerNotification
cloneMessage, generateId, getAction, getActionId, getActionName, getActionName, getPayloadToString, getResourceIdentifier, getServerId, getTimestamp, getType, isResourceIdentifierAnUri, registerAction, setMuleContext, toString
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SERVICE_INITIALISED

public static final int SERVICE_INITIALISED
See Also:
Constant Field Values

SERVICE_STARTED

public static final int SERVICE_STARTED
See Also:
Constant Field Values

SERVICE_STOPPED

public static final int SERVICE_STOPPED
See Also:
Constant Field Values

SERVICE_PAUSED

public static final int SERVICE_PAUSED
See Also:
Constant Field Values

SERVICE_RESUMED

public static final int SERVICE_RESUMED
See Also:
Constant Field Values

SERVICE_DISPOSED

public static final int SERVICE_DISPOSED
See Also:
Constant Field Values
Constructor Detail

ServiceNotification

public ServiceNotification(Service message,
                           int action)


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.