return loader.findLocalClass(className);
Class  serviceClass = loader.findLocalClass(className); if (serviceClass == null || bundle.getBundleId() == 0) return serviceClass; return serviceClass.getClassLoader() == loader.createClassLoader() ? serviceClass : null;
	protected Class loadServiceClass(String className, AbstractBundle bundle) {		try {			// first try the PARENT class space			return framework.adaptor.getBundleClassLoaderParent().loadClass(className);		} catch (ClassNotFoundException e) {			// do nothing; try exported packages		}		// try exported packages; SERVICE class space		String pkgname = BundleLoader.getPackageName(className);		if (pkgname != null) {			PackageSource exporter = (PackageSource) exportedPackages.getByKey(pkgname);			if (exporter != null) {				Class serviceClass = exporter.getSupplier().getBundleLoader().findLocalClass(className);				if (serviceClass != null)					return serviceClass;			}		}		// try bundle's PRIVATE class space		if (bundle == null)			return null;		BundleLoader loader = bundle.getBundleLoader();		if (restrictServiceClasses) {			// cannot have a service class from a package that a bundle 			// provides to a NAMED class space (unless it is exported also).			if (pkgname == null)				pkgname = BundleLoader.DEFAULT_PACKAGE;			if (loader.getProvidedPackage(pkgname) != null)				return null;		}		return loader.findLocalClass(className);	}