| |
|
| java.lang.Object org.jaffa.security.VariationContext
VariationContext | public class VariationContext (Code) | | This class has a ThreadLocal variable to store the variation for a given Thread. It should be invoked by the controller servlet or the WebServices wrapper.
author: GautamJ |
Method Summary | |
public static String | getVariation() This will return the variation for the current thread. | public static void | setVariation(String variation) This will set the variation for the current thread. |
DEFAULT_VARIATION | final public static String DEFAULT_VARIATION(Code) | | This is the default variation.
|
getVariation | public static String getVariation()(Code) | | This will return the variation for the current thread. The default variation will be returned, in case no value was set prior to the invocation of this method.
the variation for the current thread. |
setVariation | public static void setVariation(String variation)(Code) | | This will set the variation for the current thread. This is typically invoked by the controller servlet or the WebServices wrapper.
Parameters: variation - The variation for the current thread. |
|
|
|