_applicationStatusRequest applicationStatus)
ApplicationStatusRequest applicationStatus)
    public ApplicationStatusType applicationStatus(            _applicationStatusRequest applicationStatus)            throws RemoteException {        URI reference = applicationStatus.getApplication();        JobState job = lookupJob(reference);        Prim process = job.resolvePrimFromJob();        ApplicationStatusType status = job.createApplicationStatus();        boolean running;        try {            process.sfPing(null);            running = true;        } catch (SmartFrogLivenessException e) {            running = false;            status.setStateInfo(e.toString());        }        String statusName = running ? "running" : "terminated";        status.setState(LifecycleStateEnum.fromString(statusName));        return status;    }