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 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 ApplicationContext object.
    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext ctx) throws org.springframework.beans.BeansException
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware
      Throws:
      org.springframework.beans.BeansException