org.apache.activemq.network.LdapNetworkConnector.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
???? 1e
g6 ?7 ?8 ?9 ?: ? ?; u0 ?< ?= ?> ??@
6 ?AB ?C ?DE
6 ?F ?G ?H ?I ?J
KL
?M ?
JN
?OPQRSTU
&6V
&W
&X
%Y
Z[\ ?]^_`a
26bc
2d
?ef
&gh_ij
!Xklmnopqr
Estu
2vwx_y
z{
|}~??
?
&????????
??????? _?????????????
g???
g?
??
???
g?
?????_?
???v?
u????
u??d
??
??
??
g?
??
g?
??
g?
??
g?
??
g?
??
g?
??
g?
??
g?
??
g?
????
g?
g?????????
Z????????????
!Y?
Z???
???_??
??
???
??????
???
???? LOG Lorg/apache/commons/logging/Log; REQUIRED_OBJECT_CLASS_FILTER Ljava/lang/String;
ConstantValue
availableURIs [Ljava/net/URI; availableURIsIndex I base failover Z curReconnectDelay J maxReconnectDelay user password anonymousAuthentication searchControls 'Ljavax/naming/directory/SearchControls; searchFilter searchEventListener connectorMap Ljava/util/Map; Signature MLjava/util/Map; referenceMap 2Ljava/util/Map; uuidMap 1Ljava/util/Map; context #Ljavax/naming/directory/DirContext; ldapURI Ljava/net/URI; ()V Code LineNumberTable LocalVariableTable this 2Lorg/apache/activemq/network/LdapNetworkConnector; getUri ()Ljava/net/URI; setUri (Ljava/net/URI;)V _uri data?
CompositeData InnerClasses 3Lorg/apache/activemq/util/URISupport$CompositeData;
Exceptions setBase (Ljava/lang/String;)V _base setUser _user setPassword _password setAnonymousAuthentication (Z)V _anonymousAuthentication setSearchScope scope _searchScope setSearchFilter
_searchFilter setSearchEventListener _searchEventListener start err %Ljavax/naming/CommunicationException; eventContext $Ljavax/naming/event/EventDirContext; env Ljava/util/Hashtable; isConnected results Ljavax/naming/NamingEnumeration; LocalVariableTypeTable ;Ljava/util/Hashtable; GLjavax/naming/NamingEnumeration; stop connector .Lorg/apache/activemq/network/NetworkConnector; i$ Ljava/util/Iterator; getName ()Ljava/lang/String; name addConnector ((Ljavax/naming/directory/SearchResult;)V referenceCount result %Ljavax/naming/directory/SearchResult; uuid connectorURI removeConnector toURI 5(Ljavax/naming/directory/SearchResult;)Ljava/net/URI;
attributes #Ljavax/naming/directory/Attributes; address port protocol toUUID 9(Ljavax/naming/directory/SearchResult;)Ljava/lang/String; objectAdded #(Ljavax/naming/event/NamingEvent;)V Ljava/lang/Exception; event Ljavax/naming/event/NamingEvent;
objectRemoved
objectRenamed uuidOld uuidNew
objectChanged namingExceptionThrown ,(Ljavax/naming/event/NamingExceptionEvent;)V )Ljavax/naming/event/NamingExceptionEvent;
SourceFile LdapNetworkConnector.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? %javax/naming/directory/SearchControls ? ? .(&(objectClass=ipHost)(objectClass=ipService)) ? ? ? ? &java/util/concurrent/ConcurrentHashMap ? ? ? ? ? ? ? ? ? ????????? java/net/URI OBJECT_SCOPE ONELEVEL_SCOPE
SUBTREE_SCOPE java/lang/Exception java/lang/StringBuilder *ERR: unknown LDAP search scope specified: ??? ? ? ?? 1(&(&(objectClass=ipHost)(objectClass=ipService))( )) ? ?
connecting...?? java/util/Hashtable java.naming.factory.initial com.sun.jndi.ldap.LdapCtxFactory ? ? URI [? ] java.naming.provider.url ! login credentials [anonymous] #java.naming.security.authentication none login credentials [ :******] java.naming.security.principal java.naming.security.credentials (javax/naming/directory/InitialDirContext ? #javax/naming/CommunicationException connection error [ java/lang/String ], failover connection to [
#searching for network connectors... base [ filter [ scope [? #javax/naming/directory/SearchResult )registering persistent search listener... "javax/naming/event/EventDirContext ? stopping context... !"#$%& ,org/apache/activemq/network/NetworkConnector
?' ?()*+ [, ?$%-? 'connector already regsitered for UUID [. java/lang/Integer/ #connector reference added for URI [ ], UUID [ ], total reference(s) [012345678 ?9: ?;<?=> ??@ABC@DBEF ?G ?H ?IJ ?KLMNOPQ ? connector added with URI [ #connector not regsitered for UUID [ #connector not regisitered for URI [R &connector referenced removed for URI [ ], remaining reference(s) [ connector removed with URI [ST iphostnumberUVW
ipserviceport ipserviceprotocol static:( :// : ) !retrieved URI from SearchResult [X "retrieved UUID from SearchResult [ entry addedYZ[ ERR: caught unexpected exception\
entry removed][
entry renamed^ %connector reference renamed for URI [
], Old UUID [
], New UUID [
entry changed_`a 0org/apache/activemq/network/LdapNetworkConnectorbcd *javax/naming/event/NamespaceChangeListener 'javax/naming/event/ObjectChangeListener 1org/apache/activemq/util/URISupport$CompositeData #org/apache/activemq/util/URISupport parseComposite C(Ljava/net/URI;)Lorg/apache/activemq/util/URISupport$CompositeData; getScheme equals (Ljava/lang/Object;)Z
getComponents ()[Ljava/net/URI; append -(Ljava/lang/String;)Ljava/lang/StringBuilder; toString (I)V org/apache/commons/logging/Log info (Ljava/lang/Object;)V put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; debug (Ljava/util/Hashtable;)V get &(Ljava/lang/Object;)Ljava/lang/Object; error java/lang/Thread sleep (J)V java/lang/Math min (JJ)J getSearchScope ()I (I)Ljava/lang/StringBuilder; !javax/naming/directory/DirContext search m(Ljava/lang/String;Ljava/lang/String;Ljavax/naming/directory/SearchControls;)Ljavax/naming/NamingEnumeration; javax/naming/NamingEnumeration hasMore ()Z next ()Ljava/lang/Object; lookup &(Ljava/lang/String;)Ljava/lang/Object; addNamingListener q(Ljava/lang/String;Ljava/lang/String;Ljavax/naming/directory/SearchControls;Ljavax/naming/event/NamingListener;)V close
java/util/Map values ()Ljava/util/Collection; java/util/Collection iterator ()Ljava/util/Iterator; java/util/Iterator hasNext clear java/lang/Object getClass ()Ljava/lang/Class; java/lang/Class setName containsKey warn intValue valueOf (I)Ljava/lang/Integer; getBrokerService ,()Lorg/apache/activemq/broker/BrokerService; (org/apache/activemq/broker/BrokerService addNetworkConnector >(Ljava/net/URI;)Lorg/apache/activemq/network/NetworkConnector;
isDynamicOnly setDynamicOnly !isDecreaseNetworkConsumerPriority "setDecreaseNetworkConsumerPriority
getNetworkTTL
setNetworkTTL isConduitSubscriptions setConduitSubscriptions getExcludedDestinations ()Ljava/util/List; setExcludedDestinations (Ljava/util/List;)V "getDynamicallyIncludedDestinations "setDynamicallyIncludedDestinations isDuplex setDuplex getVmConnectorURI setLocalUri
getBrokerName
setBrokerName getBroker %()Lorg/apache/activemq/broker/Broker; !org/apache/activemq/broker/Broker getDurableDestinations ()Ljava/util/Set; setDurableDestinations (Ljava/util/Set;)V remove
getAttributes %()Ljavax/naming/directory/Attributes; !javax/naming/directory/Attributes 6(Ljava/lang/String;)Ljavax/naming/directory/Attribute; javax/naming/directory/Attribute getNameInNamespace javax/naming/event/NamingEvent
getNewBinding ()Ljavax/naming/Binding; *(Ljava/lang/Object;Ljava/lang/Throwable;)V
getOldBinding javax/naming/Binding 'javax/naming/event/NamingExceptionEvent getException ()Ljavax/naming/NamingException; %org/apache/commons/logging/LogFactory getLog 3(Ljava/lang/Class;)Lorg/apache/commons/logging/Log; ! ? g ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? w*? *? *? *? *? * ? * ? *? *?
*? *? Y? ? *? *? *? Y? ? *? Y? ? *? Y? ? *? *? ? ? J 8 C D E F G H &