Package org.zkoss.zk.ui.sys
Interface WebAppFactory
- All Known Implementing Classes:
WebAppFactoryImpl
public interface WebAppFactory
The factory used to instantiate the instance of
WebApp.
To instantiate UI objects (such as desktop, page, component and session),
please implement UiFactory instead.- Since:
- 6.0.0
- Author:
- tomyeh
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionnewWebApp(Object ctx, Configuration config) Instantiates the instance ofWebApp.
-
Method Details
-
newWebApp
Instantiates the instance ofWebApp.- Parameters:
ctx- the application context. For Servlet, it is jakarta.servlet.ServletContext.
-