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:
    `UiFactory`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `WebApp` | `newWebApp​(java.lang.Object ctx, Configuration config)` | Instantiates the instance of `WebApp`.

- - ### Method Detail

    - #### newWebApp

          WebApp newWebApp​(java.lang.Object ctx,
                           Configuration config)

      Instantiates the instance of `WebApp`.
      Parameters:
        `ctx` - the application context. For Servlet, it is javax.servlet.ServletContext.