| Modifier and Type | Class and Description |
|---|---|
| private static class | PGDataSourceFactory.
A class that removes properties as they are used (without modifying the supplied initial Properties). |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public ConnectionPoolDataSource | createConnectionPoolDataSource(Properties
The properties used to configure the
props)ConnectionPoolDataSource. null indicates no
properties. If the property cannot be set on the
ConnectionPoolDataSource being created then a
SQLException must be thrown.Implements org. Create a new |
| public DataSource | createDataSource(Properties
The properties used to configure the props)DataSource .
null indicates no properties. If the property cannot be
set on the DataSource being created then a
SQLException must be thrown.Implements org. Will create and return either a |
| public Driver | createDriver(Properties
The properties used to configure the props)Driver.
null indicates no properties. If the property cannot be
set on the Driver being created then a
SQLException must be thrown.Implements org. Create a new |
| private DataSource | |
| private DataSource | |
| public XADataSource | createXADataSource(Properties
The properties used to configure the props)XADataSource.
null indicates no properties. If the property cannot be
set on the XADataSource being created then a
SQLException must be thrown.Implements org. Create a new |
| PGDataSourceFactory | back to summary |
|---|---|
| public PGDataSourceFactory() | |
| configureBaseDataSource | back to summary |
|---|---|
private void configureBaseDataSource(BaseDataSource ds, Properties props) throws SQLException
| |
| createConnectionPoolDataSource | back to summary |
|---|---|
| public ConnectionPoolDataSource createConnectionPoolDataSource(Properties props) throws SQLException Implements org. Doc from org. Create a new
| |
| createDataSource | back to summary |
|---|---|
| public DataSource createDataSource(Properties props) throws SQLException Implements org. Will create and return either a
| |
| createDriver | back to summary |
|---|---|
| public Driver createDriver(Properties props) throws SQLException Implements org. Doc from org. Create a new
| |
| createPoolingDataSource | back to summary |
|---|---|
private DataSource createPoolingDataSource(Properties props) throws SQLException
| |
| createSimpleDataSource | back to summary |
|---|---|
private DataSource createSimpleDataSource(Properties props) throws SQLException
| |
| createXADataSource | back to summary |
|---|---|
| public XADataSource createXADataSource(Properties props) throws SQLException Implements org. Doc from org. Create a new
| |
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public @Nullable String | getProperty(String
the property key. key)Overrides java. Searches for the property with the specified key in this property list. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| SingleUseProperties | back to summary |
|---|---|
pack-priv SingleUseProperties(Properties initialProperties)
| |
| getProperty | back to summary |
|---|---|
| public @Nullable String getProperty(String key) Overrides java. Doc from java. Searches for the property with the specified key in this property list.
If the key is not found in this property list, the default property list,
and its defaults, recursively, are then checked. The method returns
| |