public class J2EEDataSource
extends java.lang.Object
Constructor and Description |
---|
J2EEDataSource() |
Modifier and Type | Method and Description |
---|---|
static javax.sql.ConnectionPoolDataSource |
getConnectionPoolDataSource()
Return a new DataSource corresponding to the current
configuration.
|
(package private) static javax.sql.ConnectionPoolDataSource |
getConnectionPoolDataSource(TestConfiguration config,
java.util.HashMap beanProperties)
Create a new DataSource object setup from the passed in TestConfiguration.
|
static javax.sql.XADataSource |
getXADataSource()
Return a new XA DataSource corresponding to the current
configuration.
|
(package private) static javax.sql.XADataSource |
getXADataSource(TestConfiguration config,
java.util.HashMap beanProperties)
Create a new DataSource object setup from the passed in TestConfiguration.
|
static void |
setBeanProperty(java.lang.Object ds,
java.lang.String property,
java.lang.Object value)
Set a bean property for a data source.
|
public static javax.sql.ConnectionPoolDataSource getConnectionPoolDataSource()
static javax.sql.ConnectionPoolDataSource getConnectionPoolDataSource(TestConfiguration config, java.util.HashMap beanProperties)
public static javax.sql.XADataSource getXADataSource()
public static void setBeanProperty(java.lang.Object ds, java.lang.String property, java.lang.Object value)
ds
- DataSource to have property setproperty
- name of property.value
- Value, type is derived from value's class.static javax.sql.XADataSource getXADataSource(TestConfiguration config, java.util.HashMap beanProperties)
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.