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

A way to customize the way WebApp is instantiated

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Normal Normal
    • 6.0.0
    • None
    • None
    • None

      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()).

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

              Created:
              Updated:
              Resolved:

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