public class OptimisedNotificationHandler extends Object implements ServerNotificationHandler
| Constructor and Description |
|---|
OptimisedNotificationHandler(ServerNotificationHandler delegate,
Class type) |
| Modifier and Type | Method and Description |
|---|---|
void |
fireNotification(ServerNotification notification) |
boolean |
isNotificationDynamic() |
boolean |
isNotificationEnabled(Class notfnClass)
This returns a very "conservative" value - it is true if the notification or any subclass would be
accepted.
|
public OptimisedNotificationHandler(ServerNotificationHandler delegate, Class type)
public boolean isNotificationDynamic()
isNotificationDynamic in interface ServerNotificationHandlerpublic boolean isNotificationEnabled(Class notfnClass)
isNotificationEnabled in interface ServerNotificationHandlernotfnClass - Either the notification class being generated or some superclasspublic void fireNotification(ServerNotification notification)
fireNotification in interface ServerNotificationHandlerCopyright © 2003-2012 MuleSource, Inc.. All Rights Reserved.