Exemplo n.º 1
0
 /// <summary>
 /// Called by the servlet container to indicate to a servlet that the
 /// servlet is being placed into service.  See {@link Servlet#init}.
 ///
 /// This implementation stores the {@link ServletConfig}
 /// object it receives from the servlet container for later use.
 /// When overriding this form of the method, call 
 /// base.Init(config).
 /// </summary>
 /// <param name="config">
 ///     the ServletConfig object
 ///     that contains configutation
 ///     information for this servlet
 /// </param>
 /// <exception cref="ServletException">
 ///     if an exception occurs that
 ///     interrupts the servlet's normal
 ///     operation
 /// </exception>
 /// <see cref="UnavailableException"/>
 public void Init(IServletConfig config)
 {
     this.config = config;
     this.Init();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Called by the servlet container to indicate to a servlet that the
 /// servlet is being placed into service.  See {@link Servlet#init}.
 ///
 /// This implementation stores the {@link ServletConfig}
 /// object it receives from the servlet container for later use.
 /// When overriding this form of the method, call
 /// base.Init(config).
 /// </summary>
 /// <param name="config">
 ///     the ServletConfig object
 ///     that contains configutation
 ///     information for this servlet
 /// </param>
 /// <exception cref="ServletException">
 ///     if an exception occurs that
 ///     interrupts the servlet's normal
 ///     operation
 /// </exception>
 /// <see cref="UnavailableException"/>
 public void Init(IServletConfig config)
 {
     this.config = config;
     this.Init();
 }