class BundleClassesFinder {

	public Collection<Class<?>> traverseBundlesForOsgiServices(final Collection<Bundle> bundles) {
		Collection<Class<?>> allClasses = getClasses(bundles);
		Set<Class<?>> osgiClasses = new HashSet<Class<?>>();
		for (Class<?> clazz : allClasses) {
			Set<Class<?>> osgiServicesForClass = readOsgiServicesForClass(clazz);
			osgiClasses.addAll(osgiServicesForClass);
		}
		return osgiClasses;
	}

	public  BundleClassesFinder(String basePackage);

}