Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.mule.api.context.notification
Interface ServerNotificationHandler

All Known Implementing Classes:
  OptimisedNotificationHandler, ServerNotificationManager

    public interface ServerNotificationHandler

Method Summary
`void` | `fireNotification(ServerNotification notification)`
`boolean` | `isListenerRegistered(ServerNotificationListener listener)`
`boolean` | `isNotificationDynamic()`
`boolean` | `isNotificationEnabled(Class<? extends ServerNotification> notfnClass)` This returns a very "conservative" value - it is true if the notification or any subclass would be accepted.

Method Detail

### fireNotification

    void fireNotification(ServerNotification notification)

### isNotificationDynamic

    boolean isNotificationDynamic()

### isListenerRegistered

    boolean isListenerRegistered(ServerNotificationListener listener)

  Parameters:
    `listener` -
  Returns:
  Since:
    3.0

### isNotificationEnabled

    boolean isNotificationEnabled(Class<? extends ServerNotification> notfnClass)

  This returns a very "conservative" value - it is true if the notification or any subclass would be accepted. So if it returns false then you can be sure that there is no need to send the notification. On the other hand, if it returns true there is no guarantee that the notification "really" will be dispatched to any listener.

  Parameters:
    `notfnClass` - Either the notification class being generated or some superclass
  Returns:
    false if there is no need to dispatch the notification

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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