org.atmosphere.samples.pubsub.config
Class SpringApplicationContext

java.lang.Object
  extended by 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


Constructor Summary
SpringApplicationContext()
           
 
Method Summary
static
<T> T
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
 

Constructor Detail

SpringApplicationContext

public SpringApplicationContext()
Method Detail

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 © 2014. All Rights Reserved.