org.rhq.enterprise.gui.legacy.util
Class ContextUtils

java.lang.Object
  extended by org.rhq.enterprise.gui.legacy.util.ContextUtils

Deprecated.

@Deprecated
public class ContextUtils
extends Object

Utilities class that provides convenience methods for operating on the servlet context.


Constructor Summary
ContextUtils()
          Deprecated.  
 
Method Summary
static Map getMapOfContextAttributes(javax.servlet.ServletContext context)
          Deprecated. Used by ActionProcessLocator for getting attributes out of the ServletContext
static Properties loadProperties(javax.servlet.ServletContext context, String filename)
          Deprecated. Load the specified properties file and return the properties.
static void saveProperties(javax.servlet.ServletContext context, String filename, Properties props)
          Deprecated.  
static boolean usingLDAPAuthentication(javax.servlet.ServletContext context)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextUtils

public ContextUtils()
Deprecated. 
Method Detail

getMapOfContextAttributes

public static Map getMapOfContextAttributes(javax.servlet.ServletContext context)
Deprecated. 
Used by ActionProcessLocator for getting attributes out of the ServletContext


loadProperties

public static Properties loadProperties(javax.servlet.ServletContext context,
                                        String filename)
                                 throws Exception
Deprecated. 
Load the specified properties file and return the properties.

Parameters:
context - the ServletContext
filename - the fully qualified name of the properties file
Throws:
Exception - if a problem occurs while loading the file

saveProperties

public static void saveProperties(javax.servlet.ServletContext context,
                                  String filename,
                                  Properties props)
                           throws Exception
Deprecated. 
Throws:
Exception

usingLDAPAuthentication

public static boolean usingLDAPAuthentication(javax.servlet.ServletContext context)
                                       throws Exception
Deprecated. 
Throws:
Exception


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.