org.liveSense.service.DataSourceProvider.DataSourceStoreServiceImpl.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.liveSense.service.dataSourceProvider Show documentation
Show all versions of org.liveSense.service.dataSourceProvider Show documentation
Simple DBCP pooled datasource provider.
The newest version!
???? 2 ?
[ \
] ^ _ `
[ a
b
c d e f g f h i
j k
l
m n o
[ p
q
r s t d u v d w x
y z { log Lorg/slf4j/Logger; dataSourceProviders Ljava/util/List; Signature OLjava/util/List; ()V Code LineNumberTable LocalVariableTable this ELorg/liveSense/service/DataSourceProvider/DataSourceStoreServiceImpl;
getDataSource *(Ljava/lang/String;)Ljavax/sql/DataSource; name Ljava/lang/String; prov =Lorg/liveSense/service/DataSourceProvider/DataSourceProvider;
StackMapTable i getDataSourceProvider Q(Ljava/lang/String;)Lorg/liveSense/service/DataSourceProvider/DataSourceProvider; ds i$ Ljava/util/Iterator; ret | bind @(Lorg/liveSense/service/DataSourceProvider/DataSourceProvider;)V dataSourceProvider unbind getAllDataSourceProvider ()Ljava/util/List; Q()Ljava/util/List;
SourceFile DataSourceStoreServiceImpl.java RuntimeInvisibleAnnotations ,Lorg/apache/felix/scr/annotations/Component; label DataSourceStoreService metatype description #liveSense Data Source Store Service -Lorg/apache/felix/scr/annotations/References; value ,Lorg/apache/felix/scr/annotations/Reference; dataSources cardinality 7Lorg/apache/felix/scr/annotations/ReferenceCardinality; OPTIONAL_MULTIPLE policy 2Lorg/apache/felix/scr/annotations/ReferencePolicy; DYNAMIC strategy 4Lorg/apache/felix/scr/annotations/ReferenceStrategy; EVENT referenceInterface *Lorg/apache/felix/scr/annotations/Service; ALorg/liveSense/service/DataSourceProvider/DataSourceStoreService; $ % Corg/liveSense/service/DataSourceProvider/DataSourceStoreServiceImpl } ~ )java/util/concurrent/CopyOnWriteArrayList ! 3 4 + ? ? ? ? | ? ? ? ? ;org/liveSense/service/DataSourceProvider/DataSourceProvider ? ? ? ? ? ? ? ? java/lang/StringBuilder Binding dataSource - ? ? ? ? ? ? ? ? ? Unbinding dataSource - ? ? java/util/ArrayList $ ? java/lang/Object ?org/liveSense/service/DataSourceProvider/DataSourceStoreService java/util/Iterator org/slf4j/LoggerFactory getLogger %(Ljava/lang/Class;)Lorg/slf4j/Logger; ()Ljavax/sql/DataSource; java/util/List iterator ()Ljava/util/Iterator; hasNext ()Z next ()Ljava/lang/Object; #org/apache/commons/lang/StringUtils
isNotEmpty (Ljava/lang/String;)Z getName ()Ljava/lang/String; java/lang/String equals (Ljava/lang/Object;)Z append -(Ljava/lang/String;)Ljava/lang/StringBuilder; toString org/slf4j/Logger info (Ljava/lang/String;)V add remove (Ljava/util/Collection;)V ! ! " # $ % &