|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.lang.enum.Enum
org.apache.commons.lang.enum.ValuedEnum
com.xenonsoft.bridgetown.aop.transaction.jdbc.ConnectionModeEnum
Connection mode enumeration is a concept of the login style borrowed from Expresso Framework.
| Field Summary | |
static ConnectionModeEnum |
DBURL_EMBEDDED_AMPS
Create the connection with a string like DriverManager.getConnection(dbURL + "? |
static ConnectionModeEnum |
DBURL_EMBEDDED_SEMIS
Create the connection with a call to DriverManager.getConnection(dbURL + "? |
static ConnectionModeEnum |
PROPERTIES_EMBEDDED
Create the connection by setting the login and password into a java.util.Properties object and
calling DriverManager.getConnection(dbURL, props)
where props is the created properties object |
static ConnectionModeEnum |
STANDARD
Connect to the database using the standard JDBC API Create the connection with a call to DriverManager.getConnection(dbURL, login, password)
where login and password are the supplied login name and password |
| Fields inherited from class org.apache.commons.lang.enum.Enum |
iToString |
| Method Summary | |
static ConnectionModeEnum |
getEnum(int transIso)
Convert an SQL transaction isolation type into an enumerated type. |
static ConnectionModeEnum |
getEnum(java.lang.String textValue)
Returns the enumeration that matches the text value |
static java.util.List |
getEnumList()
Return a list collection of registered enumerations for this class type |
static java.util.Map |
getEnumMap()
Return a map collection of registered enumerations for this class type |
static java.util.Iterator |
iterator()
Return an iterator that can traverse the collection of registered enumerations |
| Methods inherited from class org.apache.commons.lang.enum.ValuedEnum |
compareTo, getEnum, getValue, toString |
| Methods inherited from class org.apache.commons.lang.enum.Enum |
equals, getEnum, getEnumClass, getEnumList, getEnumMap, getName, hashCode, iterator, readResolve |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final ConnectionModeEnum STANDARD
Create the connection with a call to
DriverManager.getConnection(dbURL, login, password)
where login and password are the supplied login name and password
public static final ConnectionModeEnum DBURL_EMBEDDED_SEMIS
DriverManager.getConnection(dbURL + "?user=" + login + ";password=" + password)
where login and password are the supplied login and password
public static final ConnectionModeEnum PROPERTIES_EMBEDDED
java.util.Properties object and
calling DriverManager.getConnection(dbURL, props)
where props is the created properties object
public static final ConnectionModeEnum DBURL_EMBEDDED_AMPS
DriverManager.getConnection(dbURL + "?user=" + newLogin + "&password=" + newPassword)
| Method Detail |
public static ConnectionModeEnum getEnum(java.lang.String textValue)
textValue -
public static ConnectionModeEnum getEnum(int transIso)
transIso - the transaction isolation
public static java.util.Map getEnumMap()
public static java.util.List getEnumList()
public static java.util.Iterator iterator()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||