Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.activemq
Class XmlConfigHelper  view XmlConfigHelper download XmlConfigHelper.java

java.lang.Object
  extended byorg.activemq.XmlConfigHelper

public class XmlConfigHelper
extends java.lang.Object

Helper methods to avoid a runtime dependency on Spring unless its used to configure the ActiveMQ broker via the XML configuration

Version:
$Revision: 1.1.1.1 $

Field Summary
private static java.lang.Class[] ARGUMENT_TYPES
           
static java.lang.String SPRING_CLASS_NAME
           
 
Constructor Summary
XmlConfigHelper()
           
 
Method Summary
static org.activemq.broker.BrokerContainerFactory createBrokerContainerFactory(java.lang.String xmlConfig)
          Creates an instance of the broker factory which uses the Spring XML configuration file mechanism.
private static java.lang.Class getSpringFactoryClass()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ARGUMENT_TYPES

private static final java.lang.Class[] ARGUMENT_TYPES

SPRING_CLASS_NAME

public static final java.lang.String SPRING_CLASS_NAME
See Also:
Constant Field Values
Constructor Detail

XmlConfigHelper

public XmlConfigHelper()
Method Detail

createBrokerContainerFactory

public static org.activemq.broker.BrokerContainerFactory createBrokerContainerFactory(java.lang.String xmlConfig)
                                                                               throws javax.jms.JMSException
Creates an instance of the broker factory which uses the Spring XML configuration file mechanism.


getSpringFactoryClass

private static java.lang.Class getSpringFactoryClass()
                                              throws java.lang.ClassNotFoundException