Class BrokerRegistry


  • public class BrokerRegistry
    extends Object
    • Constructor Detail

      • BrokerRegistry

        public BrokerRegistry()
    • Method Detail

      • lookup

        public BrokerService lookup​(String brokerName)
        Parameters:
        brokerName -
        Returns:
        the BrokerService
      • findFirst

        public BrokerService findFirst()
        Returns the first registered broker found
        Returns:
        the first BrokerService
      • bind

        public void bind​(String brokerName,
                         BrokerService broker)
        Parameters:
        brokerName -
        broker -
      • unbind

        public void unbind​(String brokerName)
        Parameters:
        brokerName -
      • getRegistryMutext

        public Object getRegistryMutext()
        Returns:
        the mutex used