Package com.microstrategy.web.app.beans
Class WebAppFactory
- java.lang.Object
-
- com.microstrategy.web.app.beans.WebAppFactory
-
public class WebAppFactory extends java.lang.Object
- Since:
- MicroStrategy Web 7.3.1 or earlier
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
WebAppFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WebAppFactory
getInstance()
Returns the instance of the singleton WebAppFactory.AppContext
newAppContext()
Creates a new instance of theAppContext
to be used in the requestWebFeatures
newFeatures(AppContext appContext)
Creates a new instance of the Global Features Manager to be used in the requeststatic void
removeThreadLocal()
-
-
-
Method Detail
-
getInstance
public static WebAppFactory getInstance()
Returns the instance of the singleton WebAppFactory.- Returns:
- WebAppFactory singleton instance
-
removeThreadLocal
public static void removeThreadLocal()
-
newAppContext
public AppContext newAppContext()
Creates a new instance of theAppContext
to be used in the request- Returns:
- AppContext new
AppContext
instance
-
newFeatures
public WebFeatures newFeatures(AppContext appContext)
Creates a new instance of the Global Features Manager to be used in the request- Parameters:
appContext
- theAppContext
used during the current request- Returns:
- WebFeatures
-
-