code: public BatchProcessServer getBatchProcessServer()
      {
          if (process_server_class != null)
          {
              try
              {
                  return process_server_class.newInstance();
              }
              catch (Exception e)
              {
                  throw new QueujException(e);
              }
          }
  
          if (parent_queue != null)
              return parent_queue.getBatchProcessServer();
  
          // else
          throw new QueujException("No BatchProcessServer exists for Queue");
      }
docs: Instantiate the Queues BatchProcessServer. Will ask the parent Queue
  to instantiate its BatchProcessServer if this Queue doesn't have one.