code: public String res(Object base, String localName) {
          Class c;
          if (base instanceof Class)
              c = (Class) base;
          else
              c = base.getClass();
          return adjunctManager.rootURL+'/'+c.getName().replace('.','/')+'/'+localName;
      }
docs: Yields a URL to the given resource.
  
  @param base
  The base class/object for which the 'localName' parameter
  is resolved from. If this is class, 'localName' is assumed
  to be a resource of this class. If it's other objects,
  'localName' is assumed to be a resource of the class of this object.