org.apache.activemq.broker
Class BrokerFactory

java.lang.Object
  extended by org.apache.activemq.broker.BrokerFactory

public class BrokerFactory
extends java.lang.Object

A helper class to create a fully configured broker service using a URI.

Version:
$Revision$

Nested Class Summary
static interface BrokerFactory.BrokerFactoryHandler
           
 
Constructor Summary
BrokerFactory()
           
 
Method Summary
static BrokerService createBroker(java.net.URI brokerURI)
          Creates a broker from a URI configuration
static BrokerFactory.BrokerFactoryHandler createBrokerFactoryHandler(java.lang.String type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BrokerFactory

public BrokerFactory()
Method Detail

createBrokerFactoryHandler

public static BrokerFactory.BrokerFactoryHandler createBrokerFactoryHandler(java.lang.String type)
                                                                     throws java.io.IOException
Throws:
java.io.IOException

createBroker

public static BrokerService createBroker(java.net.URI brokerURI)
                                  throws java.lang.Exception
Creates a broker from a URI configuration

Parameters:
brokerURI -
Throws:
java.lang.Exception


Copyright © 2009 Apache Software Foundation. All Rights Reserved.