org.apache.activemq.store.jdbc.DataSourceSupport.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 q
" D
E F ! G ! H ! I J
! K
L
! M N O
L P
! Q
R
S T U V W X Y
D Z
[ \
] ^
D _
`
a
b c d
dataDirectory Ljava/lang/String; dataDirectoryFile Ljava/io/File;
dataSource Ljavax/sql/DataSource; ()V Code LineNumberTable LocalVariableTable this 2Lorg/apache/activemq/store/jdbc/DataSourceSupport; (Ljavax/sql/DataSource;)V getDataDirectoryFile ()Ljava/io/File; setDataDirectoryFile (Ljava/io/File;)V getDataDirectory ()Ljava/lang/String; setDataDirectory (Ljava/lang/String;)V
getDataSource ()Ljavax/sql/DataSource;
Exceptions e
setDataSource createDataSource ds *Lorg/apache/derby/jdbc/EmbeddedDataSource; toString
SourceFile DataSourceSupport.java ) * f g 6 # $ ' ( % & java/io/File 5 6 ) 8 > : "java/lang/IllegalArgumentException *No dataSource property has been configured derby.system.home 1 2 h 6 i j k $derby.storage.fileSyncTransactionLog true derby.storage.pageCacheSize 100 (org/apache/derby/jdbc/EmbeddedDataSource derbydb l 8 create m 8 java/lang/StringBuilder n o n p A 6 0org/apache/activemq/store/jdbc/DataSourceSupport java/lang/Object java/io/IOException !org/apache/activemq/util/IOHelper getDefaultDataDirectory getCanonicalPath java/lang/System setProperty 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; setDatabaseName setCreateDatabase append -(Ljava/lang/String;)Ljava/lang/StringBuilder; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ! ! " # $ % &