Class WebAppInit

  • All Implemented Interfaces:
    WebAppInit

    public class WebAppInit
    extends java.lang.Object
    implements WebAppInit
    The initialization of zkbind.
    Since:
    8.6.2
    Author:
    rudyhuang
    • 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