org.atmosphere.samples.pubsub.config
Class SpringApplicationContext
java.lang.Object
org.atmosphere.samples.pubsub.config.SpringApplicationContext
- All Implemented Interfaces:
- org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware
@Component
public class SpringApplicationContext
- extends Object
- implements org.springframework.beans.factory.BeanFactoryAware
|
Method Summary |
static
|
getBean(Class<? extends T> klass)
|
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpringApplicationContext
public SpringApplicationContext()
setBeanFactory
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
throws org.springframework.beans.BeansException
- Specified by:
setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAware
- Throws:
org.springframework.beans.BeansException
getBean
public static <T> T getBean(Class<? extends T> klass)
Copyright © 2012. All Rights Reserved.