}
}
private void loadConfigurationPackages(final SpringApplicationService config) {
final ConfigurationPackages configurationPackages = config.getConfigurationPackages();
if (configurationPackages != null && !CollectionUtils.isEmpty(configurationPackages.getPackage())) {
final List<Package> packages = new ArrayList<>(configurationPackages.getPackage().size());
for (final String pkg : configurationPackages.getPackage()) {
packages.add(Package.getPackage(pkg.trim()));
}
this.configurationPackages = packages.toArray(new Package[packages.size()]);
}
}