Interface CarbonChannelRegisterEvent

All Superinterfaces:
CarbonEvent

CarbonEvent that's called after new channels are registered.

Note that some invocations of this event may be too early for API consumers to be notified. ChannelRegistry.allKeys(Consumer) is provided as a helper for when knowledge of all registered channels is needed.

Since:
3.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the channel registry.
    Gets the key(s) that were registered to trigger this event.
  • Method Details

    • channelRegistry

      ChannelRegistry channelRegistry()
      Gets the channel registry.
      Returns:
      the channel registry
      Since:
      3.0.0
    • registered

      Set<Key> registered()
      Gets the key(s) that were registered to trigger this event.
      Returns:
      key(s) registered
      Since:
      3.0.0