Package tech.corefinance.common.context
Class ApplicationContextHolder
java.lang.Object
tech.corefinance.common.context.ApplicationContextHolder
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
public class ApplicationContextHolder
extends Object
implements org.springframework.context.ApplicationContextAware
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.context.ApplicationContextstatic ApplicationContextHoldervoidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)
-
Method Details
-
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
-
getApplicationContext
public org.springframework.context.ApplicationContext getApplicationContext() -
getInstance
-