org.mybatis.guice.datasource.helper
Enum JdbcHelper

java.lang.Object
  extended by java.lang.Enum<JdbcHelper>
      extended by org.mybatis.guice.datasource.helper.JdbcHelper
All Implemented Interfaces:
com.google.inject.Module, Serializable, Comparable<JdbcHelper>

public enum JdbcHelper
extends Enum<JdbcHelper>
implements com.google.inject.Module

Helper to bind JDBC.driver and JDBC.url properties.

Version:
$Id: JdbcHelper.java 3686 2011-03-16 11:52:02Z simone.tripodi $

Enum Constant Summary
Cache
           
Daffodil_DB
           
DB2
           
DB2_AS400_JTOpen
           
DB2_DataDirect
           
Derby_Embedded
           
Derby_Server
           
Firebird
           
FrontBase
           
H2_EMBEDDED
           
H2_FILE
           
H2_IN_MEMORY_NAMED
           
H2_IN_MEMORY_PRIVATE
           
H2_SERVER_SSL
           
H2_SERVER_TCP
           
HP_Neoview
           
HSQLDB_Embedded
           
HSQLDB_Server
           
Informix
           
Informix_DataDirect
           
JDataStore
           
JDBC_ODBC_Bridge
           
MaxDB
           
McKoi
           
Mimer
           
MySQL
           
Netezza
           
Oracle_DataDirect
           
Oracle_OCI
           
Oracle_Thin
           
Pervasive
           
Pointbase_Embedded
           
Pointbase_Server
           
PostgreSQL
           
Progress
           
SQL_Server_2005_MS_Driver
           
SQL_Server_DataDirect
           
SQL_Server_jTDS
           
SQL_Server_MS_Driver
           
Sybase_ASE_JConnect
           
Sybase_ASE_jTDS
           
Sybase_DataDirect
           
Sybase_SQL_Anywhere_JConnect
           
 
Method Summary
 void configure(com.google.inject.Binder binder)
           
static JdbcHelper valueOf(String name)
          Returns the enum constant of this type with the specified name.
static JdbcHelper[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Cache

public static final JdbcHelper Cache

Daffodil_DB

public static final JdbcHelper Daffodil_DB

DB2

public static final JdbcHelper DB2

DB2_DataDirect

public static final JdbcHelper DB2_DataDirect

DB2_AS400_JTOpen

public static final JdbcHelper DB2_AS400_JTOpen

Firebird

public static final JdbcHelper Firebird

FrontBase

public static final JdbcHelper FrontBase

HP_Neoview

public static final JdbcHelper HP_Neoview

HSQLDB_Server

public static final JdbcHelper HSQLDB_Server

HSQLDB_Embedded

public static final JdbcHelper HSQLDB_Embedded

H2_IN_MEMORY_PRIVATE

public static final JdbcHelper H2_IN_MEMORY_PRIVATE

H2_IN_MEMORY_NAMED

public static final JdbcHelper H2_IN_MEMORY_NAMED

H2_SERVER_TCP

public static final JdbcHelper H2_SERVER_TCP

H2_SERVER_SSL

public static final JdbcHelper H2_SERVER_SSL

H2_FILE

public static final JdbcHelper H2_FILE

H2_EMBEDDED

public static final JdbcHelper H2_EMBEDDED

Informix

public static final JdbcHelper Informix

Informix_DataDirect

public static final JdbcHelper Informix_DataDirect

Derby_Server

public static final JdbcHelper Derby_Server

Derby_Embedded

public static final JdbcHelper Derby_Embedded

JDataStore

public static final JdbcHelper JDataStore

JDBC_ODBC_Bridge

public static final JdbcHelper JDBC_ODBC_Bridge

MaxDB

public static final JdbcHelper MaxDB

McKoi

public static final JdbcHelper McKoi

Mimer

public static final JdbcHelper Mimer

MySQL

public static final JdbcHelper MySQL

Netezza

public static final JdbcHelper Netezza

Oracle_Thin

public static final JdbcHelper Oracle_Thin

Oracle_OCI

public static final JdbcHelper Oracle_OCI

Oracle_DataDirect

public static final JdbcHelper Oracle_DataDirect

Pervasive

public static final JdbcHelper Pervasive

Pointbase_Embedded

public static final JdbcHelper Pointbase_Embedded

Pointbase_Server

public static final JdbcHelper Pointbase_Server

PostgreSQL

public static final JdbcHelper PostgreSQL

Progress

public static final JdbcHelper Progress

SQL_Server_DataDirect

public static final JdbcHelper SQL_Server_DataDirect

SQL_Server_jTDS

public static final JdbcHelper SQL_Server_jTDS

SQL_Server_MS_Driver

public static final JdbcHelper SQL_Server_MS_Driver

SQL_Server_2005_MS_Driver

public static final JdbcHelper SQL_Server_2005_MS_Driver

Sybase_ASE_jTDS

public static final JdbcHelper Sybase_ASE_jTDS

Sybase_ASE_JConnect

public static final JdbcHelper Sybase_ASE_JConnect

Sybase_SQL_Anywhere_JConnect

public static final JdbcHelper Sybase_SQL_Anywhere_JConnect

Sybase_DataDirect

public static final JdbcHelper Sybase_DataDirect
Method Detail

values

public static JdbcHelper[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (JdbcHelper c : JdbcHelper.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static JdbcHelper valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

configure

public void configure(com.google.inject.Binder binder)
Specified by:
configure in interface com.google.inject.Module


Copyright © 2010-2011 MyBatis.org. All Rights Reserved.