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 protectedWebAppFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WebAppFactorygetInstance()Returns the instance of the singleton WebAppFactory.AppContextnewAppContext()Creates a new instance of theAppContextto be used in the requestWebFeaturesnewFeatures(AppContext appContext)Creates a new instance of the Global Features Manager to be used in the requeststatic voidremoveThreadLocal()
-
-
-
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 theAppContextto be used in the request- Returns:
- AppContext new
AppContextinstance
-
newFeatures
public WebFeatures newFeatures(AppContext appContext)
Creates a new instance of the Global Features Manager to be used in the request- Parameters:
appContext- theAppContextused during the current request- Returns:
- WebFeatures
-
-