org.apache.activemq.broker.BrokerRegistry.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of activemq-core Show documentation
Show all versions of activemq-core Show documentation
The ActiveMQ Message Broker and Client implementations
???? 1 ?
L M N O
L P Q R S T U
V W
X Y Z
L [
\
] ^
_ ` a R b c d e f e g R h
i R j
k l m
n o
L LOG Lorg/apache/commons/logging/Log; INSTANCE +Lorg/apache/activemq/broker/BrokerRegistry; mutex Ljava/lang/Object; brokers Ljava/util/Map; Signature MLjava/util/Map; ()V Code LineNumberTable LocalVariableTable this getInstance -()Lorg/apache/activemq/broker/BrokerRegistry; lookup >(Ljava/lang/String;)Lorg/apache/activemq/broker/BrokerService;
brokerName Ljava/lang/String; result *Lorg/apache/activemq/broker/BrokerService; findFirst ,()Lorg/apache/activemq/broker/BrokerService; iter Ljava/util/Iterator; LocalVariableTypeTable @Ljava/util/Iterator; bind ?(Ljava/lang/String;Lorg/apache/activemq/broker/BrokerService;)V broker unbind (Ljava/lang/String;)V getRegistryMutext ()Ljava/lang/Object;
getBrokers ()Ljava/util/Map; O()Ljava/util/Map;
SourceFile BrokerRegistry.java + , java/lang/Object % & java/util/HashMap ' ( # $ p q r (org/apache/activemq/broker/BrokerService localhost s t u 9 : ! " java/lang/StringBuilder &Broker localhost not started so using v w x y instead z y { | } ~ ? ? ? ? ? ? ? E ? ? ? , ? r ? ? ? )org/apache/activemq/broker/BrokerRegistry ? ? ?
java/util/Map get &(Ljava/lang/Object;)Ljava/lang/Object; java/lang/String equals (Ljava/lang/Object;)Z append -(Ljava/lang/String;)Ljava/lang/StringBuilder;
getBrokerName ()Ljava/lang/String; toString org/apache/commons/logging/Log warn (Ljava/lang/Object;)V values ()Ljava/util/Collection; java/util/Collection iterator ()Ljava/util/Iterator; java/util/Iterator hasNext ()Z next put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; notifyAll remove java/util/Collections unmodifiableMap (Ljava/util/Map;)Ljava/util/Map; %org/apache/commons/logging/LogFactory getLog 3(Ljava/lang/Class;)Lorg/apache/commons/logging/Log; ! ! " # $ % &