Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.4)

Part Number E13941-04

weblogic.jms.extensions
Interface DestinationAvailabilityListener


public interface DestinationAvailabilityListener

Implements the DestinationAvailabilityListener interface to receive destination availability notifications.

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

Method Summary
 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.
 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.
 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.

Copyright 1996, 2010, 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
Oracle WebLogic Server API Reference
11g Release 1 (10.3.4)

Part Number E13941-04