public interface RegistrationListener
A Listener that may associated with a provider registration by a user of the registration. The Listener will be notified if the corresponding provider is unregistered or replaced.
Modifier and Type | Method and Description |
---|---|
void |
notify(String layer,
String appContext)
Notify the listener that a registration with which it was associated, was
replaced or unregistered.
|
void notify(String layer, String appContext)
layer
- a String identifying the message layer(s) corresponding to
registration for which the listerner is being notified.appContext
- a String value identifying the application context(s)
corresponding to registration for which the listerner is being
notified. The factory detaches the listener from the
corresponding registration once the listener has been notified
for the registration. The detachListerner method must be called
to detach listeners that are no longer in use.Copyright © 2015 JBoss by Red Hat. All rights reserved.