org.wildfly.swarm.flyway.deployment

## Class FlywayMigrationServletContextListener

- java.lang.Object
- - org.wildfly.swarm.flyway.deployment.FlywayMigrationServletContextListener

-     public class FlywayMigrationServletContextListener
      extends Object

  A ServletContextListener implementation that performs DB migration with Flyway
  Author:
    George Gastaldi

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static String` | `FLYWAY_JDBC_PASSWORD`
    `static String` | `FLYWAY_JDBC_URL`
    `static String` | `FLYWAY_JDBC_USER`
    `static String` | `FLYWAY_JNDI_DATASOURCE`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `FlywayMigrationServletContextListener()`

  - ### 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`

- - ### Field Detail

    - #### FLYWAY_JNDI_DATASOURCE

          public static final String FLYWAY_JNDI_DATASOURCE

      See Also:
        Constant Field Values

    - #### FLYWAY_JDBC_PASSWORD

          public static final String FLYWAY_JDBC_PASSWORD

      See Also:
        Constant Field Values

    - #### FLYWAY_JDBC_USER

          public static final String FLYWAY_JDBC_USER

      See Also:
        Constant Field Values

    - #### FLYWAY_JDBC_URL

          public static final String FLYWAY_JDBC_URL

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### FlywayMigrationServletContextListener

          public FlywayMigrationServletContextListener()

  - ### Method Detail

    - #### contextInitialized

          public void contextInitialized(ServletContextEvent sce)

    - #### contextDestroyed

          public void contextDestroyed(ServletContextEvent sce)

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