lumis.portal.servicecontainer
Class RequestContext

Package class diagram package RequestContext
java.lang.Object
  extended by lumis.portal.servicecontainer.RequestContext

public class RequestContext
extends Object

Responsible for maintaining request context information.

Since:
6.2.0

Constructor Summary
RequestContext()
           
 
Method Summary
static List<String> getThemes()
          Returns the themes for the current request.
static void removeThemes()
          Resets the previously applied themes in the current request.
static void setThemes(List<String> setThemes)
          Sets a list of themes that should be considered when discovering resources.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestContext

public RequestContext()
Method Detail

setThemes

public static void setThemes(List<String> setThemes)
Sets a list of themes that should be considered when discovering resources. Resources found in themes earlier in the list have priority over themes later in the list.

Parameters:
setThemes - The themes to set.
Since:
6.2.0

getThemes

public static List<String> getThemes()
Returns the themes for the current request.

Returns:
a non null list of themes to be used to discover resources.
Since:
6.2.0

removeThemes

public static void removeThemes()
Resets the previously applied themes in the current request.

Since:
6.2.0


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.