Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-401

A way to customize the way WebApp is instantiated

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.0.0
    • Component/s: None
    • Labels:
      None

      Description

      Currently, a developer could specify the class of WebApp to instantiate (by use of web-app-class). However, sometimes the real class depends on the environment, such as using a dynamic proxy to represents a set of interfaces. Thus, it will be better if we could specify a factory rather than the implementation such as

      <system-config>
      <web-app-factor-class>foo.WebAppFactory</web-app-factor-class>
      </system-config>

      Notice that we can not use UiFactory since it is too late (WebApp is instantiated before UiFactory – UiFactory is actually instantiated in WebApp's init()).

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            tomyeh tomyeh
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h