case Service:
return new ServiceResourceProvider(propertyIds, keyPropertyIds, managementController);
case Component:
return new ComponentResourceProvider(propertyIds, keyPropertyIds, managementController);
case Host:
<BUG>return new HostResourceProvider(propertyIds, keyPropertyIds, managementController);
</BUG>
case HostComponent:
<BUG>return new HostComponentResourceProvider(propertyIds, keyPropertyIds, managementController);
</BUG>
case Configuration:

case Service:
return new ServiceResourceProvider(propertyIds, keyPropertyIds, managementController);
case Component:
return new ComponentResourceProvider(propertyIds, keyPropertyIds, managementController);
case Host:
return resourceProviderFactory.getHostResourceProvider(propertyIds, keyPropertyIds, managementController);
case HostComponent:
return resourceProviderFactory.getHostComponentResourceProvider(propertyIds, keyPropertyIds, managementController);
case Configuration:
