Class IntrexxApplicationContext
java.lang.Object
de.uplanet.lucy.server.spring.configuration.IntrexxApplicationContext
An accessor class for the Spring application context.
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.springframework.context.ApplicationContext
Get the Spring application context.static void
setInstance
(org.springframework.context.ApplicationContext p_applicationContext) Set the Spring application context.
-
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.
-