Package cronapi.database
Class ApplicationContextHolder
- java.lang.Object
-
- cronapi.database.ApplicationContextHolder
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
@Component public class ApplicationContextHolder extends Object implements org.springframework.context.ApplicationContextAware
-
-
Constructor Summary
Constructors Constructor Description ApplicationContextHolder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.springframework.context.ApplicationContextgetContext()voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)
-
-
-
Method Detail
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException- Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-
getContext
public static org.springframework.context.ApplicationContext getContext()
-
-