Class BrokerAvailabilityEvent

  • All Implemented Interfaces:

    public class BrokerAvailabilityEvent
    extends ApplicationEvent
    Event raised when a broker's availability changes.
    Andy Wilkinson
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class java.util.EventObject

    • Constructor Summary

      Constructor and Description
      BrokerAvailabilityEvent(boolean brokerAvailable, java.lang.Object source)
      Creates a new BrokerAvailabilityEvent.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean isBrokerAvailable() 
      java.lang.String toString() 
      • Methods inherited from class java.util.EventObject

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • BrokerAvailabilityEvent

        public BrokerAvailabilityEvent(boolean brokerAvailable,
                                       java.lang.Object source)
        Creates a new BrokerAvailabilityEvent.
        brokerAvailable - true if the broker is available, false otherwise
        source - the component that is acting as the broker, or as a relay for an external broker, that has changed availability. Must not be null.
    • Method Detail

      • isBrokerAvailable

        public boolean isBrokerAvailable()
      • toString

        public java.lang.String toString()
        toString in class java.util.EventObject