class XenHypervisor implements HypervisorHost {

    protected Connection getConnection(HostVO host) {
        Map<String, String> params = host.getDetails();
        String username = getUsername(params);
        Queue<String> password = getPassword(params);
        return connPool.getConnect(host.getPrivateIpAddress(), username, password);
    }

}