loadJvmSystemProperties(config);
}
private void loadConfigurationClasses(final SpringApplicationService config) throws ClassNotFoundException {
final ClassLoader cl = getClass().getClassLoader();
final ConfigurationClasses configurationClasses = config.getConfigurationClasses();
if (configurationClasses != null && !CollectionUtils.isEmpty(configurationClasses.getClazz())) {
final List<Class<?>> configClasses = new ArrayList<>(configurationClasses.getClazz().size());
for (final String clazz : configurationClasses.getClazz()) {
final Class<?> c = cl.loadClass(clazz.trim());
if (c.getAnnotation(Configuration.class) == null) {
throw new IllegalArgumentException(String.format("Class must be annotated with @org.springframework.context.annotation.Configuration: {}",
clazz));
}