| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private Session | |
| private boolean | |
| private String | |
| pack-priv Hashtable | |
| private String |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | addSession(Connection conn, String name)
Making a new connection, add it to the pool, and make it current. |
| pack-priv void | |
| pack-priv Connection | |
| pack-priv Session | |
| pack-priv Session | |
| pack-priv Hashtable | |
| public String | |
| pack-priv boolean | |
| pack-priv void | init(LocalizedOutput out)
separate from the constructor so that connection failure does not prevent object creation. |
| private void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv Session |
| CONNECTION_PROPERTY | back to summary |
|---|---|
| private static final String CONNECTION_PROPERTY | |
| currSession | back to summary |
|---|---|
| private Session currSession | |
| only | back to summary |
|---|---|
| private boolean only | |
| protocol | back to summary |
|---|---|
| private String protocol | |
| sessions | back to summary |
|---|---|
| pack-priv Hashtable<String, Session> sessions | |
| tag | back to summary |
|---|---|
| private String tag | |
| ConnectionEnv | back to summary |
|---|---|
| pack-priv ConnectionEnv(int userNumber, boolean printUserNumber, boolean theOnly) | |
| addSession | back to summary |
|---|---|
| pack-priv void addSession(Connection conn, String name) Making a new connection, add it to the pool, and make it current. | |
| doPrompt | back to summary |
|---|---|
| pack-priv void doPrompt(boolean newStatement, LocalizedOutput out) | |
| getConnection | back to summary |
|---|---|
| pack-priv Connection getConnection() | |
| getSession | back to summary |
|---|---|
| pack-priv Session getSession() | |
| getSession | back to summary |
|---|---|
| pack-priv Session getSession(String name) | |
| getSessions | back to summary |
|---|---|
| pack-priv Hashtable | |
| getUniqueConnectionName | back to summary |
|---|---|
| public String getUniqueConnectionName() | |
| haveSession | back to summary |
|---|---|
| pack-priv boolean haveSession(String name) | |
| init | back to summary |
|---|---|
| pack-priv void init(LocalizedOutput out) throws SQLException, ClassNotFoundException, InstantiationException, IllegalAccessException, NoSuchMethodException, InvocationTargetException separate from the constructor so that connection failure does not prevent object creation. | |
| installConnection | back to summary |
|---|---|
| private void installConnection(String name, String value, LocalizedOutput out) throws SQLException | |
| removeAllSessions | back to summary |
|---|---|
| pack-priv void removeAllSessions() throws SQLException | |
| removeCurrentSession | back to summary |
|---|---|
| pack-priv void removeCurrentSession() throws SQLException | |
| removeSession | back to summary |
|---|---|
| pack-priv void removeSession(String name) throws SQLException | |
| setCurrentSession | back to summary |
|---|---|
| pack-priv Session setCurrentSession(String name) | |