class AutonomiccsSystemVmTemplateService implements InitializingBean {

    public String getSystemVmTemplateUrl(HypervisorType hypervisor) {
        switch (hypervisor) {
        case XenServer:
        case KVM:
            return constructSystemVmTemplateUrl(hypervisor);
        default:
            throw new CloudRuntimeException(String.format("We do not have a Autonomiccs System VM template for the given Hypervisor [%s] .", hypervisor));
        }
    }

}