Package net.n2oapp.context
Class StaticSpringContext
- java.lang.Object
-
- net.n2oapp.context.StaticSpringContext
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.DisposableBean,org.springframework.context.ApplicationContextAware
@Deprecated public class StaticSpringContext extends Object implements org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.DisposableBean
Deprecated.User: iryabov Date: 22.08.13 Time: 11:58
-
-
Constructor Summary
Constructors Constructor Description StaticSpringContext()Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static booleancontainsBean(Class clazz)Deprecated.voiddestroy()Deprecated.static <T> TgetBean(Class<T> clazz)Deprecated.static ObjectgetBean(String beanName)Deprecated.static <T> TgetBean(String beanName, Class<T> clazz)Deprecated.static <T> Map<String,T>getBeansOfType(Class<T> clazz)Deprecated.voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)Deprecated.voidsetCacheTemplate(CacheTemplateByMap cacheTemplate)Deprecated.
-
-
-
Method Detail
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansExceptionDeprecated.- Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-
setCacheTemplate
public void setCacheTemplate(CacheTemplateByMap cacheTemplate)
Deprecated.
-
getBean
@Deprecated public static Object getBean(String beanName)
Deprecated.
-
getBean
@Deprecated public static <T> T getBean(String beanName, Class<T> clazz)
Deprecated.
-
getBean
@Deprecated public static <T> T getBean(Class<T> clazz)
Deprecated.
-
containsBean
@Deprecated public static boolean containsBean(Class clazz)
Deprecated.
-
getBeansOfType
@Deprecated public static <T> Map<String,T> getBeansOfType(Class<T> clazz)
Deprecated.
-
destroy
public void destroy()
Deprecated.- Specified by:
destroyin interfaceorg.springframework.beans.factory.DisposableBean
-
-