org.apache.activemq.spring
Class SpringBrokerContext

java.lang.Object
  extended by org.apache.activemq.spring.SpringBrokerContext
All Implemented Interfaces:
BrokerContext, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

public class SpringBrokerContext
extends Object
implements BrokerContext, org.springframework.context.ApplicationContextAware


Constructor Summary
SpringBrokerContext()
           
 
Method Summary
 Object getBean(String name)
           
 Map getBeansOfType(Class type)
           
 String getConfigurationUrl()
           
 void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
           
 void setConfigurationUrl(String configurationUrl)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringBrokerContext

public SpringBrokerContext()
Method Detail

setApplicationContext

public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
                           throws org.springframework.beans.BeansException
Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware
Throws:
org.springframework.beans.BeansException

getBean

public Object getBean(String name)
Specified by:
getBean in interface BrokerContext

getBeansOfType

public Map getBeansOfType(Class type)
Specified by:
getBeansOfType in interface BrokerContext

setConfigurationUrl

public void setConfigurationUrl(String configurationUrl)

getConfigurationUrl

public String getConfigurationUrl()
Specified by:
getConfigurationUrl in interface BrokerContext


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.