for (final String beanName : serviceDefinition.getBeanNames()) {
final List<String> serviceNames = serviceDefinition.getServiceNames();
final String requiredPlatformVersion = serviceDefinition.getPlatformVersion();
if (StringUtils.hasText(requiredPlatformVersion)) {
final VersionNumber versionNumber = new VersionNumber(requiredPlatformVersion);
if (descriptor != null && versionNumber.compareTo(descriptor.getVersionNumber()) > 0) {
if (logger.isDebugEnabled()) {
logger.debug(
"Skipping registration of ServiceDefinitions {} because they require Alfresco version {}",
serviceNames, requiredPlatformVersion);
}