org.powertac.common.spring
Class SpringApplicationContext
java.lang.Object
org.powertac.common.spring.SpringApplicationContext
- All Implemented Interfaces:
- org.springframework.context.ApplicationContextAware
@Service
public class SpringApplicationContext
- extends Object
- implements org.springframework.context.ApplicationContextAware
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpringApplicationContext
public SpringApplicationContext()
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext appContext)
throws org.springframework.beans.BeansException
- Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
getBean
public static Object getBean(String beanName)
getBeanByType
public static Object getBeanByType(Class type)
Copyright © 2011. All Rights Reserved.