org.apache.activemq.spring
Class SpringBrokerContext

java.lang.Object
  extended by org.apache.activemq.spring.SpringBrokerContext
All Implemented Interfaces:
BrokerContext, 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)
           
 void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
           
 
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


Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.