D
- public abstract class CommonDataSourceReference<D> extends javax.naming.Reference
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
CLUSTER |
protected static java.lang.String |
CONFIG |
Modifier | Constructor and Description |
---|---|
protected |
CommonDataSourceReference(java.lang.Class<D> targetClass,
java.lang.Class<? extends javax.naming.spi.ObjectFactory> factoryClass,
java.lang.String cluster,
java.lang.String config)
Constructs a reference for a DataSource implementation.
|
protected static final java.lang.String CLUSTER
protected static final java.lang.String CONFIG
protected CommonDataSourceReference(java.lang.Class<D> targetClass, java.lang.Class<? extends javax.naming.spi.ObjectFactory> factoryClass, java.lang.String cluster, java.lang.String config)
targetClass
- the target class of the DataSource.factoryClass
- the ObjectFactory class for creating a DataSourcecluster
- a cluster identifierconfig
- the uri of the configuration file