code: private URL getResourceFromBundle(Object resource, String resourcePath, String versionRange)
      {
          URL url = null;
          if (resource == null)
          {
              Object classAccess = this.getClassBundleService(null, ClassFinderActivator.getPackageName(resourcePath, true) + FAKE_CLASSNAME, versionRange, null, 0);
              if (classAccess != null)
                  url = classAccess.getClass().getClassLoader().getResource(resourcePath);
          }
          else
          {
          	Bundle bundle = this.findBundle(resource, bundleContext, ClassFinderActivator.getPackageName(resourcePath, true), versionRange);
              url = bundle.getEntry(resourcePath);
          }
          return url;
      }
docs: makeClassFromBundle
  @param resourcePath
  @param versionRange version
  
  @return