Class WebAppInit

  • All Implemented Interfaces:
    WebAppInit

    public class WebAppInit
    extends java.lang.Object
    implements WebAppInit
    The initialization of zkmax.

    Available in ZK EE

    Since:
    3.5.0
    Author:
    tomyeh
    • Constructor Summary

      Constructors 
      Constructor Description
      WebAppInit()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void init​(WebApp wapp)
      Called when a ZK application is created and initialized.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WebAppInit

        public WebAppInit()
    • Method Detail

      • init

        public void init​(WebApp wapp)
                  throws java.lang.Exception
        Description copied from interface: WebAppInit
        Called when a ZK application is created and initialized.

        You could retrieve the servlet context by WebApp.getServletContext()

        Specified by:
        init in interface WebAppInit
        Throws:
        java.lang.Exception