org.apache.activemq.xbean.XBeanBrokerFactory.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 ?
' O
$ P
" Q A R S T U R V W X
O Y
Z
[
\
] ^ _ " ` a b c d
]
e f
]
g h i
] j
] k
l m
n o p q
r s t u LOG Lorg/apache/commons/logging/Log; ()V Code LineNumberTable LocalVariableTable this .Lorg/apache/activemq/xbean/XBeanBrokerFactory; createBroker :(Ljava/net/URI;)Lorg/apache/activemq/broker/BrokerService; e *Lorg/springframework/beans/BeansException; name Ljava/lang/String; i I names [Ljava/lang/String; config Ljava/net/URI; uri context 0Lorg/springframework/context/ApplicationContext; broker *Lorg/apache/activemq/broker/BrokerService;
Exceptions v createApplicationContext D(Ljava/lang/String;)Lorg/springframework/context/ApplicationContext; resource &Lorg/springframework/core/io/Resource; file Ljava/io/File; w
SourceFile XBeanBrokerFactory.java + , x y E F z { | (org/apache/activemq/broker/BrokerService (org/springframework/beans/BeansException } ~ "java/lang/IllegalArgumentException java/lang/StringBuilder >The configuration has no BrokerService instance for resource: ? ? ? y + ? 3org/springframework/context/ApplicationContextAware ? ? ) * 3Now attempting to figure out the type of resource: ? ? ? java/io/File ? ? .org/springframework/core/io/FileSystemResource ? ? ? 'org/springframework/core/io/UrlResource -org/springframework/core/io/ClassPathResource =org/apache/xbean/spring/context/ResourceXmlApplicationContext + ? ,org/apache/activemq/xbean/XBeanBrokerFactory ? ? ? java/net/URI .org/apache/xbean/spring/context/impl/URIEditor ? ? ? java/lang/Object /org/apache/activemq/broker/BrokerFactoryHandler java/lang/Exception java/net/MalformedURLException getSchemeSpecificPart ()Ljava/lang/String; .org/springframework/context/ApplicationContext getBean &(Ljava/lang/String;)Ljava/lang/Object; getBeanNamesForType &(Ljava/lang/Class;)[Ljava/lang/String; append -(Ljava/lang/String;)Ljava/lang/StringBuilder; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; toString (Ljava/lang/String;)V setApplicationContext 3(Lorg/springframework/context/ApplicationContext;)V org/apache/commons/logging/Log debug (Ljava/lang/Object;)V exists ()Z &org/springframework/util/ResourceUtils isUrl (Ljava/lang/String;)Z )(Lorg/springframework/core/io/Resource;)V %org/apache/commons/logging/LogFactory getLog 3(Ljava/lang/Class;)Lorg/apache/commons/logging/Log; java/beans/PropertyEditorManager registerEditor %(Ljava/lang/Class;Ljava/lang/Class;)V ! " ' ( ? ) * + , - / *? ? . * / 0 1 2 3 - ] ?+? M*,? N:-? ? :? :? ;- ? :6?? %2:-? ? :? ? ????? ? Y?
Y? ?
+? ? ? ?? ? ? -? ? . N 3 4 6 8 : 9 <