org.objectweb.telosys.screen.env
Class ScreenApplicationManager

java.lang.Object
  extended byorg.objectweb.telosys.screen.env.ScreenApplicationManager

public final class ScreenApplicationManager
extends java.lang.Object

Class for "ScreenApplication" object management
The "ScreenApplication" is a singleton always accessible, shared by all the users


Method Summary
static ScreenApplication getScreenApplication()
          Returns the current ScreenApplication object
static ScreenApplication getScreenApplication(javax.servlet.http.HttpSession httpSession)
          Deprecated. use getScreenApplication() instead
static ScreenApplication getScreenApplication(javax.servlet.ServletContext servletContext)
          Deprecated. use getScreenApplication() instead
static javax.servlet.ServletContext getServletContext()
          Returns the current ScreenApplication object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getScreenApplication

public static ScreenApplication getScreenApplication()
Returns the current ScreenApplication object

Returns:
the ScreenApplication ( never null )
Since:
1.0.0

getServletContext

public static javax.servlet.ServletContext getServletContext()
Returns the current ScreenApplication object

Returns:
Since:
1.0.0

getScreenApplication

public static ScreenApplication getScreenApplication(javax.servlet.ServletContext servletContext)
Deprecated. use getScreenApplication() instead

Returns the ScreenApplication object
Since v 1.0.0 the ScreenApplication is not stored in the ServletContext
( same as getScreenApplication() without parameter )

Parameters:
servletContext - : not used since v 1.0.0
Returns:
the ScreenApplication instance

getScreenApplication

public static ScreenApplication getScreenApplication(javax.servlet.http.HttpSession httpSession)
Deprecated. use getScreenApplication() instead

Returns the ScreenApplication object
Since v 1.0.0 the ScreenApplication is not stored in the ServletContext
( same as getScreenApplication() without parameter )

Parameters:
httpSession - : not used since v 1.0.0
Returns:
the ScreenApplication object