org.activemq.spring
Class BrokerFactoryBean

java.lang.Object
  extended byorg.activemq.spring.BrokerFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean

public class BrokerFactoryBean
extends Object
implements org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean

A Spring FactoryBean to make it easy to create an embedded broker inside Spring.

Version:
$Revision: 1.1 $

Constructor Summary
BrokerFactoryBean()
           
 
Method Summary
 void afterPropertiesSet()
           
 void destroy()
           
 org.springframework.core.io.Resource getConfig()
           
 Object getObject()
           
 Class getObjectType()
           
 boolean isSingleton()
           
 void setConfig(org.springframework.core.io.Resource config)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BrokerFactoryBean

public BrokerFactoryBean()
Method Detail

getObject

public Object getObject()
                 throws Exception
Specified by:
getObject in interface org.springframework.beans.factory.FactoryBean
Throws:
Exception

getObjectType

public Class getObjectType()
Specified by:
getObjectType in interface org.springframework.beans.factory.FactoryBean

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface org.springframework.beans.factory.FactoryBean

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception

destroy

public void destroy()
             throws Exception
Specified by:
destroy in interface org.springframework.beans.factory.DisposableBean
Throws:
Exception

getConfig

public org.springframework.core.io.Resource getConfig()

setConfig

public void setConfig(org.springframework.core.io.Resource config)


Copyright © 2004-2007 Protique, Ltd.. All Rights Reserved.