Class IntrexxApplicationContext

java.lang.Object
de.uplanet.lucy.server.spring.configuration.IntrexxApplicationContext

@Scriptable public final class IntrexxApplicationContext extends Object
An accessor class for the Spring application context.
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.springframework.context.ApplicationContext
    Get the Spring application context.
    static void
    setInstance(org.springframework.context.ApplicationContext p_applicationContext)
    Set the Spring application context.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • getInstance

      public static org.springframework.context.ApplicationContext getInstance()
      Get the Spring application context.
      Returns:
      The Spring application context.
      Throws:
      IllegalStateException - If no application context is available.
    • setInstance

      public static void setInstance(org.springframework.context.ApplicationContext p_applicationContext)
      Set the Spring application context. This method is for internal use only.

      This method is being invoked once at portal server start.

      Parameters:
      p_applicationContext - The Spring application context to be set.
      Throws:
      IllegalStateException - If the application context is already set.