| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| public static final int | |
| protected Context | |
| protected DataSource | |
| protected boolean | |
| protected int | lookupType
Deprecated
|
| protected String | |
| public static final int | |
| public static final int |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | clone()
Overrides java. Implements org. |
| public Connection | connect(Properties properties, Session session)
Implements org. |
| public String | Returns: java.lang.StringImplements org. |
| public Context | |
| public DataSource | |
| public int | getLookupType()
Deprecated
As of 2.6.0, replaced by configuration provided by
org.
|
| public String | |
| public void | |
| public void | |
| public void | setLookupType(int lookupType)
Deprecated
As of 2.6.0, replaced by configuration provided by
org.
|
| public void | |
| public String | |
| public void | toString(PrintWriter writer)
Implements org. |
| COMPOSITE_NAME_LOOKUP | back to summary |
|---|---|
| public static final int COMPOSITE_NAME_LOOKUP | |
| COMPOUND_NAME_LOOKUP | back to summary |
|---|---|
| public static final int COMPOUND_NAME_LOOKUP | |
| context | back to summary |
|---|---|
| protected Context context | |
| dataSource | back to summary |
|---|---|
| protected DataSource dataSource | |
| isCallbackRegistered | back to summary |
|---|---|
| protected boolean isCallbackRegistered | |
| lookupType | back to summary |
|---|---|
| protected int lookupType
Deprecated
| |
| name | back to summary |
|---|---|
| protected String name | |
| STRING_LOOKUP | back to summary |
|---|---|
| public static final int STRING_LOOKUP | |
| UNDEFINED_LOOKUP | back to summary |
|---|---|
| public static final int UNDEFINED_LOOKUP | |
| JNDIConnector | back to summary |
|---|---|
| public JNDIConnector() PUBLIC: Construct a Connector with no settings. The datasource name will still need to be set. | |
| JNDIConnector | back to summary |
|---|---|
| public JNDIConnector(Context context, String name) throws ValidationException PUBLIC: Construct a Connector with the datasource name. | |
| JNDIConnector | back to summary |
|---|---|
| public JNDIConnector(String name) PUBLIC: Construct a Connector with the datasource name. | |
| JNDIConnector | back to summary |
|---|---|
| public JNDIConnector(DataSource dataSource) PUBLIC: Construct a Connector with the datasource object. | |
| clone | back to summary |
|---|---|
| public Object clone() Overrides java. Implements org. INTERNAL: Clone the connector.
| |
| connect | back to summary |
|---|---|
| public Connection connect(Properties properties, Session session) throws DatabaseException, ValidationException Implements org. INTERNAL: Connect with the specified properties and return the Connection.
| |
| getConnectionDetails | back to summary |
|---|---|
| public String getConnectionDetails() Implements org. PUBLIC: Provide the details of my connection information. This is primarily for JMX runtime services. | |
| getContext | back to summary |
|---|---|
| public Context getContext() PUBLIC: Return the JNDI Context that can supplied the named DataSource. | |
| getDataSource | back to summary |
|---|---|
| public DataSource getDataSource() PUBLIC: Return the javax.sql.DataSource. | |
| getLookupType | back to summary |
|---|---|
| public int getLookupType()
Deprecated As of 2.6.0, replaced by configuration provided by
| |
| getName | back to summary |
|---|---|
| public String getName() PUBLIC: Return the name of the DataSource within the JNDI Context. | |
| setContext | back to summary |
|---|---|
| public void setContext(Context context) PUBLIC: Set the JNDI Context that can supply the named DataSource. | |
| setDataSource | back to summary |
|---|---|
| public void setDataSource(DataSource dataSource) PUBLIC: Set the javax.sql.DataSource. | |
| setLookupType | back to summary |
|---|---|
| public void setLookupType(int lookupType)
Deprecated As of 2.6.0, replaced by configuration provided by
| |
| setName | back to summary |
|---|---|
| public void setName(String name) throws ValidationException PUBLIC: Set the name of the DataSource within the JNDI Context. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. PUBLIC: Print data source info.
| |
| toString | back to summary |
|---|---|
| public void toString(PrintWriter writer) Implements org. INTERNAL: Print something useful on the log.
| |