docs: def deploy(Class, name=None, uid=None, gid=None, **kw):
          """
          Create an application with the give name, uid, and gid.
  
          The application has one child service, an instance of Class
          configured based on the additional keyword arguments passed.
  
          The application is not persistable.
  
          @param Class:
          @param name:
          @param uid:
          @param gid:
          @param kw:
  
          @return:
          """
          svc = Class(**kw)
  
          if name is None:
              name = Class.__name__
          # Make it easier (possible) to find this service by name later on
          svc.setName(name)
  
          app = service.Application(name, uid=uid, gid=gid)
          app.addComponent(NotPersistable(app), ignoreClass=True)
          svc.setServiceParent(app)
  
          return app