actionPrim = deployAction(); actionTerminator = new DelayedTerminator(actionPrim, undeployAfter, logSF, FORCED_TERMINATION, !expectTerminate); actionTerminator.start();
try { actionPrim = deployAction(); actionTerminator = new DelayedTerminator(actionPrim, undeployAfter, logSF, FORCED_TERMINATION, !expectTerminate); actionTerminator.start(); } catch (RemoteException e) { if (TerminationRecord.NORMAL.equals(exitType)) { throw e; } exception=e; } catch (SmartFrogDeploymentException e) {  if(TerminationRecord.NORMAL.equals(exitType)) { throw e; } exception = e; }  if (exception!=null) {  String message= exception.getMessage(); if(message==null) { message=""; } if (message.indexOf(exitText) < 0) { throw new SmartFrogException("Wrong exitText in the fault raised at creation time\n" +"expected: '"+exitText+"'\n" +"found   : '"+message+"'\n", exception); }  new ComponentHelper(this).sfSelfDetachAndOrTerminate(TerminationRecord.NORMAL, null,null,exception); }
    public synchronized void sfStart() throws SmartFrogException, RemoteException {        super.sfStart();        LogSF logSF = sfLog();        //deploy the action under a terminator, then the assertions, finally teardown afterwards.        actionPrim = deployAction();        actionTerminator = new DelayedTerminator(actionPrim, undeployAfter, logSF,                FORCED_TERMINATION,                !expectTerminate);        actionTerminator.start();    }