public interface NotificationHandlerRegistration extends NotificationHandlerRegistry
PathAddress.
The source PathAddress can be a pattern if at least one of its element value is a wildcard (PathElement.getValue() is *).
For example:
/subsystem=messaging/hornetq-server=default/jms-queue=* is an address pattern./subsystem=messaging/hornetq-server=*/jms-queue=* is an address pattern./subsystem=messaging/hornetq-server=default/jms-queue=myQueue is not an address pattern.| Modifier and Type | Interface and Description |
|---|---|
static class |
NotificationHandlerRegistration.Factory
Factory to create a new
NotificationHandlerRegistration |
ANY_ADDRESS| Modifier and Type | Method and Description |
|---|---|
Collection<NotificationHandler> |
findMatchingNotificationHandlers(Notification notification)
Return all the
NotificationHandler that where registered to listen to the notification's source address (either directly
or though pattern addresses) after filtering them out using the NotificationFilter given at registration time. |
registerNotificationHandler, unregisterNotificationHandlerCollection<NotificationHandler> findMatchingNotificationHandlers(Notification notification)
NotificationHandler that where registered to listen to the notification's source address (either directly
or though pattern addresses) after filtering them out using the NotificationFilter given at registration time.notification - the source address of the notification must be a concrete address correspdonding to a resource
(and not a wildcard address)NotificationHandler that registered against the notification source.Copyright © 2020 JBoss by Red Hat. All rights reserved.