Class RootApplicationContextHolder
java.lang.Object
it.uniroma2.art.semanticturkey.spring.RootApplicationContextHolder
Holds the main
ApplicationContext
. This is intended to be used as a fallback
by those portions of code that can't use dependency injection (e.g. static methods).- Author:
- Manuel Fiorelli
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RootApplicationContextHolder
public RootApplicationContextHolder()
-
-
Method Details
-
set
public static void set(org.springframework.context.ApplicationContext applicationContext) -
get
public static org.springframework.context.ApplicationContext get()
-