Skip navigation links

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


weblogic.jms.extensions
Interface DestinationAvailabilityListener


public interface DestinationAvailabilityListener

Implements the DestinationAvailabilityListener interface to recieve destination availability notifications.

Since:
11gR1PS2 (WebLogic 10.3.3)
See Also:
JMSDestinationAvailabilityHelper

Method Summary
abstract  void onDestinationsAvailable(String destJNDIName, 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.
abstract  void onDestinationsUnavailable(String destJNDIName, List<DestinationDetail> list)
          Callback to provide a list of WebLogic 9.0 or later distributed destination members that have become unavailable.
abstract  void onFailure(String destJNDIName, Exception exception)
          Callback to provide any current error related to obtaining destination availability.

 

Method Detail

onDestinationsAvailable

void onDestinationsAvailable(String destJNDIName,
                             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.

Note:

Parameters:
destJNDIName - The JNDI name of the destination for which this listener is registered.
list - A list of DestinationDetail instances.
See Also:
DestinationDetail

onDestinationsUnavailable

void onDestinationsUnavailable(String destJNDIName,
                               List<DestinationDetail> list)
Callback to provide a list of WebLogic 9.0 or later distributed destination members that have become unavailable.

Note:

Parameters:
destJNDIName - The JNDI name of the destination for which this listener is registered.
list - A list of DestinationDetail instances.
See Also:
DestinationDetail

onFailure

void onFailure(String destJNDIName,
               Exception exception)
Callback to provide any current error related to obtaining destination availability.

Note:

Parameters:
destJNDIName - The JNDI name of the destination for which this listener is registered.
exception - The exception that has caused a failure.

Skip navigation links

Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09