public interface DestinationAvailabilityListener
DestinationAvailabilityListener interface
to recieve destination availability notifications.JMSDestinationAvailabilityHelper| Modifier and Type | Method | Description |
|---|---|---|
void |
onDestinationsAvailable(java.lang.String destJNDIName,
java.util.List<DestinationDetail> list) |
Callback that provides a list of newly available destinations
corresponding to the JNDI name that was specified when the destination
availability listener was registered.
|
void |
onDestinationsUnavailable(java.lang.String destJNDIName,
java.util.List<DestinationDetail> list) |
Callback to provide a list of WebLogic 9.0 or later distributed destination
members that have become unavailable.
|
void |
onFailure(java.lang.String destJNDIName,
java.lang.Exception exception) |
Callback to provide any current error related to
obtaining destination availability.
|
void onDestinationsAvailable(java.lang.String destJNDIName,
java.util.List<DestinationDetail> list)
Note:
destJNDIName - The JNDI name of the destination for which this listener is registered.list - A list of DestinationDetail instances.DestinationDetailvoid onDestinationsUnavailable(java.lang.String destJNDIName,
java.util.List<DestinationDetail> list)
Note:
destJNDIName - The JNDI name of the destination for which this listener is registered.list - A list of DestinationDetail instances.DestinationDetailvoid onFailure(java.lang.String destJNDIName,
java.lang.Exception exception)
Note:
onFailure callbacks, the
helper makes a best effort to only call onFailure once for each repeated
failure/exception type.destJNDIName - The JNDI name of the destination for which this listener is registered.exception - The exception that has caused a failure.