code: @Override
      public <T> TaskStatus<T> getStatus(long taskId) {
          String owner = getOwner();
          if (owner == null)
              return null;
  
          TransactionController tranController = new TransactionController();
          TaskRecord taskRecord = null;
          try {
              tranController.preInvoke();
              taskRecord = taskStore.findById(taskId, owner, false);
          } catch (Throwable x) {
              tranController.setFailure(x);
          } finally {
              PersistentStoreException x = tranController.postInvoke(PersistentStoreException.class); // TODO proposed spec class
              if (x != null)
                  throw x;
          }
  
          return taskRecord == null ? null : new TaskStatusImpl<T>(taskRecord, this);
      }
docs: Returns status for the persistent task with the specified id.
  
  @param taskId unique identifier for the task.
  @return status for the persistent task with the specified id.
  If the task is not found, <code>null</code> is returned.