Package org.apache.activemq.spring
Class SpringBrokerContext
- java.lang.Object
-
- 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
Constructors Constructor Description SpringBrokerContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetBean(String name)MapgetBeansOfType(Class type)StringgetConfigurationUrl()voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)voidsetConfigurationUrl(String configurationUrl)
-
-
-
Method Detail
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException- Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-
getBean
public Object getBean(String name)
- Specified by:
getBeanin interfaceBrokerContext
-
getBeansOfType
public Map getBeansOfType(Class type)
- Specified by:
getBeansOfTypein interfaceBrokerContext
-
setConfigurationUrl
public void setConfigurationUrl(String configurationUrl)
-
getConfigurationUrl
public String getConfigurationUrl()
- Specified by:
getConfigurationUrlin interfaceBrokerContext
-
-