deResolver = new DataElementResolver();
deResolver.setContext(context);
}
public ConnectionParams convert(String driverName, WsConnectionParams wsConnParams) {
ConnectionParams connParams = new ConnectionParams();
connParams.setServer(convert(wsConnParams.getServer()))
.setPort(Port.valueOf(wsConnParams.getPort())) // The port cannot be parameterized.
.setDatabase(convert(wsConnParams.getDatabase()))
.setUser(convert(wsConnParams.getUser()))
.setPassword(convert(wsConnParams.getPassword()))
.setManualConnectionString(convert(wsConnParams.getManualConnection()))