org.appng.core.controller

## Class Log4jConfigurer

- java.lang.Object
- - org.springframework.web.util.WebAppRootListener
  - - org.appng.core.controller.Log4jConfigurer

- All Implemented Interfaces:
    EventListener, javax.servlet.ServletContextListener

      public class Log4jConfigurer
      extends org.springframework.web.util.WebAppRootListener

  A `ServletContextListener` to initialize log4j logging.
  Author:
    Matthias Müller

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected static String` | `LOG4J_PROPERTIES`
    `static String` | `WEB_INF`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Log4jConfigurer()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `contextDestroyed(javax.servlet.ServletContextEvent sce)`
    `void` | `contextInitialized(javax.servlet.ServletContextEvent sce)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### LOG4J_PROPERTIES

          protected static final String LOG4J_PROPERTIES

      See Also:
        Constant Field Values

    - #### WEB_INF

          public static final String WEB_INF

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### Log4jConfigurer

          public Log4jConfigurer()

  - ### Method Detail

    - #### contextInitialized

          public void contextInitialized(javax.servlet.ServletContextEvent sce)

      Specified by:
        `contextInitialized` in interface `javax.servlet.ServletContextListener`
      Overrides:
        `contextInitialized` in class `org.springframework.web.util.WebAppRootListener`

    - #### contextDestroyed

          public void contextDestroyed(javax.servlet.ServletContextEvent sce)

      Specified by:
        `contextDestroyed` in interface `javax.servlet.ServletContextListener`
      Overrides:
        `contextDestroyed` in class `org.springframework.web.util.WebAppRootListener`

Copyright © 2011–2023 aiticon GmbH. All rights reserved.