} else if (componentType.equals(XSiteStateTransferManager.class)) {
return (T) (configuration.sites().allBackups().isEmpty() ? null : new XSiteStateTransferManagerImpl());
} else if (componentType.equals(XSiteStateConsumer.class)) {
return (T) new XSiteStateConsumerImpl();
} else if (componentType.equals(XSiteStateProvider.class)) {
return (T) new XSiteStateProviderImpl();
} else if (componentType.equals(PartitionHandlingManager.class)) {
if (configuration.clustering().partitionHandling().enabled()) {
if (configuration.clustering().cacheMode().isDistributed()) {
return (T) new PartitionHandlingManager();
}