Package | Description |
---|---|
org.mule.functional.api.notification | |
org.mule.runtime.api.notification | |
org.mule.runtime.core.api.context.notification | |
org.mule.runtime.core.api.lifecycle |
Modifier and Type | Class and Description |
---|---|
class |
FunctionalTestNotification
A
FunctionlTestNotification is fired by the FunctionalTestProcessor when it receives an event. |
Modifier and Type | Interface and Description |
---|---|
interface |
NotificationListener<T extends Notification>
Observer interface that objects can implement and register themselves with the Mule Server to receive notifications when a
Notification is fired . |
Modifier and Type | Interface and Description |
---|---|
interface |
ExtensionNotification
Notification fired by extensions, including custom data.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractServerNotification
AbstractServerNotification is an event triggered by something happening in the Server itself such as the server
starting or a service being registered. |
class |
AsyncMessageNotification
AsyncMessageNotification when async work is scheduled and completed for a given flow |
class |
ClusterNodeNotification
Notifies when there are a cluster node event
|
class |
ConnectionNotification
Is fired by a connector when a connection is made or disconnected.
|
class |
ConnectorMessageNotification
Used to notify that a message was received or sent through a Connector
|
class |
CustomNotification
CustomNotification Custom notifications can be used by components and other objects such as routers, transformers,
agents, etc to communicate a change of state to each other. |
class |
EnrichedServerNotification
This notification type includes information about the event, exception and flow where it occurred.
|
class |
ErrorHandlerNotification |
class |
ExceptionNotification
This class is from Mule 2.2.5.
|
class |
FlowConstructNotification
FlowConstructNotification is fired when an event such as the flow construct starting occurs. |
class |
ManagementNotification
ManagementNotification is fired when monitored resources such as internal queues reach capacity |
class |
MessageProcessorNotification |
class |
PipelineMessageNotification
PipelineMessageNotification is fired at key steps in the processing of Pipeline |
class |
PolicyNotification
Used to notify that a message was processed by a policy
|
class |
RoutingNotification
Is fired by routers.
|
class |
SecurityNotification
SecurityNotification is fired when a request for authorisation failed. |
class |
TransactionNotification |
Modifier and Type | Method and Description |
---|---|
<N extends Notification> |
NotificationListenerRegistry.registerListener(NotificationListener<N> listener)
Registers a
NotificationListener . |
<N extends Notification> |
NotificationListenerRegistry.registerListener(NotificationListener<N> listener,
Predicate<N> selector)
Registers a
NotificationListener . |
<N extends Notification> |
NotificationListenerRegistry.unregisterListener(NotificationListener<N> listener)
Unregisters a previously registered
NotificationListener . |
Modifier and Type | Method and Description |
---|---|
void |
NotificationDispatcher.dispatch(Notification notification)
Send the
notification to all the registered listeners. |
Modifier and Type | Class and Description |
---|---|
class |
ListenerSubscriptionPair<N extends Notification>
A simple tuple that stores a listener with an optional subscription (used to match a resource ID).
|
Modifier and Type | Class and Description |
---|---|
class |
MuleContextNotification
MuleContextNotification is fired when an event such as the mule context starting occurs. |
Modifier and Type | Method and Description |
---|---|
<N extends Notification> |
ServerNotificationManager.addListenerSubscription(NotificationListener<N> listener,
Predicate<N> selector) |
Modifier and Type | Method and Description |
---|---|
Map<String,Pair<Class<? extends Notification>,Class<? extends NotificationListener>>> |
NotificationsProvider.getEventListenerMapping()
The key of the returned map is the string representation of the notification.
|
Map<Class<? extends NotificationListener>,Set<Class<? extends Notification>>> |
ServerNotificationManager.getInterfaceToTypes() |
Modifier and Type | Method and Description |
---|---|
void |
NotificationHelper.fireNotification(Notification notification)
Fires the given
notification using the NotificationHelper.defaultNotificationHandler . |
void |
ServerNotificationHandler.fireNotification(Notification notification)
Fire the
Notification . |
void |
ServerNotificationManager.fireNotification(Notification notification) |
void |
NotifierCallback.notify(NotificationListener listener,
Notification notification) |
protected void |
ServerNotificationManager.notifyListeners(Notification notification,
NotifierCallback notifier) |
Modifier and Type | Method and Description |
---|---|
void |
ServerNotificationManager.addInterfaceToType(Class<? extends NotificationListener> iface,
Class<? extends Notification> event) |
void |
ServerNotificationManager.disableType(Class<? extends Notification> type) |
boolean |
ServerNotificationHandler.isNotificationEnabled(Class<? extends Notification> notfnClass)
This returns a very "conservative" value - it is true if the notification or any subclass would be accepted.
|
boolean |
ServerNotificationManager.isNotificationEnabled(Class<? extends Notification> type) |
void |
ServerNotificationManager.setInterfaceToTypes(Map<Class<? extends NotificationListener>,Set<Class<? extends Notification>>> interfaceToEvents) |
Constructor and Description |
---|
NotificationHelper(ServerNotificationHandler defaultNotificationHandler,
Class<? extends Notification> notificationClass,
boolean dynamicNotifications)
Creates a new
NotificationHelper that emits instances of notificationClass class. |
Modifier and Type | Method and Description |
---|---|
Notification |
LifecycleObject.getPostNotification() |
Notification |
LifecycleObject.getPreNotification() |
Modifier and Type | Method and Description |
---|---|
void |
LifecycleObject.setPostNotification(Notification postNotification) |
void |
LifecycleObject.setPreNotification(Notification preNotification) |
Copyright © 2018. All rights reserved.