Package fr.becpg.util
Class ApplicationContextHelper
java.lang.Object
fr.becpg.util.ApplicationContextHelper
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
public class ApplicationContextHelper
extends Object
implements org.springframework.context.ApplicationContextAware
ApplicationContextHelper class.
- Version:
- $Id: $Id
- Author:
- matthieu
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static org.springframework.context.ApplicationContext -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.springframework.context.ApplicationContextgetApplicationContext.voidsetApplicationContext(org.springframework.context.ApplicationContext ctx)
-
Field Details
-
ctx
private static org.springframework.context.ApplicationContext ctx
-
-
Constructor Details
-
ApplicationContextHelper
public ApplicationContextHelper()
-
-
Method Details
-
getApplicationContext
public static org.springframework.context.ApplicationContext getApplicationContext()getApplicationContext.
- Returns:
- a
ApplicationContextobject.
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext ctx) throws org.springframework.beans.BeansException - Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-