ConnectionProvider (GWT Maven Archetype 3.1.0-3.0.0 API)
Date: 2014-02-28

org.gcube.application.aquamaps.aquamapsportlet.servlet.db

## Class ConnectionProvider

- java.lang.Object
- - org.gcube.application.aquamaps.aquamapsportlet.servlet.db.ConnectionProvider

-     public class ConnectionProvider
      extends Object

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected static String` | `DB_DIR`
    `protected static String` | `DB_DRIVER_CLASS`
    `protected static String` | `dbDirPath`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ConnectionProvider()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static Connection` | `connect(String scope)`
    `static void` | `dropDataBase(String scope)`
    `static Set<String>` | `initializedScopes()`

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

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

- - ### Field Detail

    - #### DB_DIR

          protected static final String DB_DIR

      See Also:
        Constant Field Values

    - #### DB_DRIVER_CLASS

          protected static final String DB_DRIVER_CLASS

      See Also:
        Constant Field Values

    - #### dbDirPath

          protected static String dbDirPath

  - ### Constructor Detail

    - #### ConnectionProvider

          public ConnectionProvider()

  - ### Method Detail

    - #### initializedScopes

          public static Set<String> initializedScopes()

    - #### connect

          public static Connection connect(String scope)
                                    throws Exception

      Throws:
        `Exception`

    - #### dropDataBase

          public static void dropDataBase(String scope)

Copyright © 2014. All Rights Reserved.