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 Object
getBean(String name)
Map
getBeansOfType(Class type)
String
getConfigurationUrl()
void
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
void
setConfigurationUrl(String configurationUrl)
-
-
-
Method Detail
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
- Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-
getBean
public Object getBean(String name)
- Specified by:
getBean
in interfaceBrokerContext
-
getBeansOfType
public Map getBeansOfType(Class type)
- Specified by:
getBeansOfType
in interfaceBrokerContext
-
setConfigurationUrl
public void setConfigurationUrl(String configurationUrl)
-
getConfigurationUrl
public String getConfigurationUrl()
- Specified by:
getConfigurationUrl
in interfaceBrokerContext
-
-