de.uplanet.lucy.server.spring.configuration
Class IntrexxApplicationContext

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

@Scriptable
public final class IntrexxApplicationContext
extends java.lang.Object

An accessor class for the Spring application context.

Version:
$Revision: 84700 $

Method Summary
static org.springframework.context.ApplicationContext getInstance()
          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 Detail

getInstance

public static org.springframework.context.ApplicationContext getInstance()
Get the Spring application context.

Returns:
The Spring application context.
Throws:
java.lang.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:
java.lang.IllegalStateException - If the application context is already set.


Last updated: 2011-08-11 10-04
Copyright © 2000-2011 United Planet. All Rights Reserved.