bug#AL-1802
parent
e4e9450368
commit
724256a441
|
@ -4,16 +4,6 @@ import org.springframework.beans.BeansException;
|
||||||
import org.springframework.context.ApplicationContext;
|
import org.springframework.context.ApplicationContext;
|
||||||
import org.springframework.context.ApplicationContextAware;
|
import org.springframework.context.ApplicationContextAware;
|
||||||
|
|
||||||
/**
|
|
||||||
* This class provides an application-wide access to the
|
|
||||||
* Spring ApplicationContext! The ApplicationContext is
|
|
||||||
* injected in a static method of the class "AppContext".
|
|
||||||
*
|
|
||||||
* Use AppContext.getApplicationContext() to get access
|
|
||||||
* to all Spring Beans.
|
|
||||||
*
|
|
||||||
* @author Siegfried Bolz
|
|
||||||
*/
|
|
||||||
public class ApplicationContextProvider implements ApplicationContextAware {
|
public class ApplicationContextProvider implements ApplicationContextAware {
|
||||||
|
|
||||||
public void setApplicationContext(ApplicationContext ctx) throws BeansException {
|
public void setApplicationContext(ApplicationContext ctx) throws BeansException {
|
||||||
|
|
Loading…
Reference in New Issue