public class UsageWithoutSessionContext
extends java.lang.Object
Statusbar processing depends on the availablilty of
a central status bar instance within the current session.initUsageWithoutSessionContext() you can switch
on this "tolerance".| Modifier and Type | Class and Description |
|---|---|
static class |
UsageWithoutSessionContext.DummyHttpSession |
| Constructor and Description |
|---|
UsageWithoutSessionContext() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
findWebcontentDirectory()
Find webcontent directory.
|
static HttpSession |
getDummyHttpSession(boolean createIfNotExists)
Internal use only.
|
static DefaultScreens.SessionAccess |
getDummySessionAccess()
Internal use only.
|
static SessionInfo |
getDummySessionInfo()
Internal use only.
|
static SubpageContext |
getDummySubpageContext() |
static java.lang.String |
getServletTempDirectory()
Functions may require access to files that are stored in the servlet temp
directory at runtime.
|
static java.lang.String |
getWebcontentDirectory()
Functions may require access to files that are part of the webcontent
at runtime.
|
static void |
initCurrentThreadWithoutSessionContext()
Initializes the Java environment, so that it is "tolerant"
against missing information, that normally resides on session
level.
|
static void |
initCurrentThreadWithSessionContext()
Switch back method for
initCurrentThreadWithoutSessionContext(). |
static void |
initUsageWithoutSessionContext()
Initializes the Java environment, so that it is "tolerant"
against missing information, that normally resides on session
level.
|
static void |
initUsageWithSessionContext()
Ends the special mode, that was opened with
initUsageWithoutSessionContext(). |
static boolean |
isUsedWithoutSessionContext() |
static void |
processThrowable(java.lang.Throwable t)
Internal use only.
|
static void |
setServletTempDirectory(java.lang.String servletTempDirectory) |
static void |
setSessionInfo(SessionInfo si)
Functions may require access to the session info also when being
used/tested outside the session context.
|
static void |
setWebcontentDirectory(java.lang.String webcontentDirectory) |
public static void initUsageWithoutSessionContext()
public static void initUsageWithSessionContext()
initUsageWithoutSessionContext().public static void initCurrentThreadWithoutSessionContext()
public static void initCurrentThreadWithSessionContext()
initCurrentThreadWithoutSessionContext().public static boolean isUsedWithoutSessionContext()
public static SessionInfo getDummySessionInfo()
public static void setSessionInfo(SessionInfo si)
public static DefaultScreens.SessionAccess getDummySessionAccess()
public static HttpSession getDummyHttpSession(boolean createIfNotExists)
public static SubpageContext getDummySubpageContext()
public static void processThrowable(java.lang.Throwable t)
public static java.lang.String getWebcontentDirectory()
public static void setWebcontentDirectory(java.lang.String webcontentDirectory)
public static java.lang.String getServletTempDirectory()
public static void setServletTempDirectory(java.lang.String servletTempDirectory)
public static java.lang.String findWebcontentDirectory()
setWebcontentDirectory(String), then this is the one returned.
Copyright © CaptainCasa Gmbh. All Rights Reserved.