user = pManager.getProperty("user");
password = pManager.getProperty("password");
}
protected TConnection getTConnection() throws PMException {
TConnectionFactory factory = TConnectionFactory.getInstance();
try {
return factory.newConnection(url, user, password);
} catch (TServerNotAvailableException e) {
throw new PMException(e);
}
}