org.apache.cayenne.conf

## Class WebApplicationContextFilter

- java.lang.Object
- - org.apache.cayenne.configuration.web.CayenneFilter
  - - org.apache.cayenne.conf.WebApplicationContextFilter

- All Implemented Interfaces:
    javax.servlet.Filter

  Deprecated.
  since 3.0 `CayenneFilter` should be used.

      @Deprecated
      public class WebApplicationContextFilter
      extends CayenneFilter

  This is a legacy Cayenne bootstrapping filter kept for backwards compatibility of web.xml files. It should be replaced with `CayenneFilter` instead.
  Since:
    1.2

- - ### Field Summary

    - ### Fields inherited from class org.apache.cayenne.configuration.web.CayenneFilter

      `servletContext`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `WebApplicationContextFilter()` Deprecated.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `init(javax.servlet.FilterConfig filterConfig)` Deprecated.

    - ### Methods inherited from class org.apache.cayenne.configuration.web.CayenneFilter

      `checkAlreadyConfigured, destroy, doFilter`

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

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

- - ### Constructor Detail

    - #### WebApplicationContextFilter

          public WebApplicationContextFilter()

      Deprecated.

  - ### Method Detail

    - #### init

          public void init(javax.servlet.FilterConfig filterConfig)
                    throws javax.servlet.ServletException

      Deprecated.
      Specified by:
        `init` in interface `javax.servlet.Filter`
      Overrides:
        `init` in class `CayenneFilter`
      Throws:
        `javax.servlet.ServletException`

Copyright © 2001–2017 Apache Cayenne. All rights reserved.