package com.github.aureliano.evtbridge.app.helper;

import org.reflections.Reflections;

import com.github.aureliano.evtbridge.common.exception.EventBridgeException;
import com.github.aureliano.evtbridge.core.config.IConfiguration;

public final class AppHelper {

	private AppHelper() {}
	
	public static void initializeResources() {
		Reflections reflections = new Reflections("com.github.aureliano.evtbridge");
		Class<?>[] classes = reflections.getSubTypesOf(IConfiguration.class).toArray(new Class<?>[0]);
		System.out.println(classes.length);
		try {
			for (Class<?> clazz : classes) {
				Class.forName(clazz.getName());
				System.out.println(clazz);
			}
		} catch (ClassNotFoundException ex) {
			throw new EventBridgeException(ex);
		}
	}
}
@@ -510,43 +510,8 @@
 ;%0A%09%09
-System.out.println(classes.length);
 %0A%09%09t
@@ -591,39 +591,8 @@
 ));%0A
-%09%09%09%09System.out.println(clazz);%0A
 %09%09%09%7D

Initialize resources.