org.firebirdsql.gds.ng.jna

## Class NativeResourceUnloadWebListenerJavaX

- java.lang.Object
- - org.firebirdsql.gds.ng.jna.NativeResourceUnloadWebListenerJavaX

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

      @WebListener
      public class NativeResourceUnloadWebListenerJavaX
      extends java.lang.Object
      implements javax.servlet.ServletContextListener

  Servlet context listener for `javax.servlet` for unloading native libraries if loaded in the current context.

  Twin of `NativeResourceUnloadWebListenerJakarta`.

  Since:
    4.0
  Author:
    Mark Rotteveel

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `NativeResourceUnloadWebListenerJavaX()`

  - ### Method Summary

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

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

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

- - ### Constructor Detail

    - #### NativeResourceUnloadWebListenerJavaX

          public NativeResourceUnloadWebListenerJavaX()

  - ### Method Detail

    - #### contextInitialized

          public void contextInitialized(javax.servlet.ServletContextEvent servletContextEvent)

      Specified by:
        `contextInitialized` in interface `javax.servlet.ServletContextListener`

    - #### contextDestroyed

          public void contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent)

      Specified by:
        `contextDestroyed` in interface `javax.servlet.ServletContextListener`

Copyright © 2001-2025 Jaybird (Firebird JDBC) team. All rights reserved.