public void setName(String name) {
this.name = name;
}
protected ConnectionPool createConnectionPool(Connection connection) {
return new JcaConnectionPool(connection, getTransactionManager(), getName()) {
@Override
protected Connection wrap(final Connection connection) {
// Add a transport Listener so that we can notice if this connection
// should be expired due to a connection failure.