org.wildfly.swarm.microprofile.openapi.deployment

## Class OpenApiServletContextListener

- java.lang.Object
- - org.wildfly.swarm.microprofile.openapi.deployment.OpenApiServletContextListener

-     public class OpenApiServletContextListener
      extends Object

  This listener instantiates OASModelReader and OASFilter and triggers OpenAPI document initialization.
  Author:
    Martin Kouba

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `OpenApiServletContextListener()`
    `OpenApiServletContextListener(Config config)`

  - ### Method Summary

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

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

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

- - ### Constructor Detail

    - #### OpenApiServletContextListener

          public OpenApiServletContextListener()

    - #### OpenApiServletContextListener

          public OpenApiServletContextListener(Config config)

  - ### Method Detail

    - #### contextInitialized

          public void contextInitialized(ServletContextEvent sce)

    - #### contextDestroyed

          public void contextDestroyed(ServletContextEvent sce)

Copyright © 2018 JBoss by Red Hat. All rights reserved.