Class ChannelInitServlet

  • All Implemented Interfaces:
    JcmsConstants, JaliosConstants, java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

    public class ChannelInitServlet
    extends javax.servlet.http.HttpServlet
    implements JcmsConstants
    Servlet responsible of initializing JCMS.
    One and only one instance of this servlet should be configured in the web.xml file of the webapp.
    Look at JcmsInit if you need to add custom initialization block at JCMS startup.
    See Also:
    Serialized Form
    • Constructor Detail

      • ChannelInitServlet

        public ChannelInitServlet()
    • Method Detail

      • init

        public void init​(javax.servlet.ServletConfig config)
                  throws javax.servlet.ServletException
        Specified by:
        init in interface javax.servlet.Servlet
        Overrides:
        init in class javax.servlet.GenericServlet
        Throws:
        javax.servlet.ServletException
      • init

        public void init​(javax.servlet.ServletContext context,
                         java.lang.String storeFilename,
                         java.lang.String webappProp,
                         java.lang.String customProp)
                  throws javax.servlet.ServletException
        Throws:
        javax.servlet.ServletException
      • destroy

        public void destroy()
        Specified by:
        destroy in interface javax.servlet.Servlet
        Overrides:
        destroy in class javax.servlet.GenericServlet
      • getChannel

        public Channel getChannel()