javax.naming.Context nameContext,
java.util.Hashtable environment) throws java.lang.Exception {
javax.naming.Reference ref = (javax.naming.Reference) refObj;
// Create the proper data source object shell.
ClientBaseDataSource ds = null;
if (ref.getClassName().equals(ClientDataSource.className__)) {
ds = new ClientDataSource();
} else if (ref.getClassName().equals(ClientXADataSource.className__)) {
ds = new ClientXADataSource();
} else if (ref.getClassName().equals(ClientConnectionPoolDataSource.className__)) {