question: public void handleRequest ( RequestContext rc ) throws CLIException { super . handleRequest ( rc ) ; ldapLogin ( ) ; SSOToken adminSSOToken = getAdminSSOToken ( ) ; boolean continueFlag = isOptionSet ( IArgument . CONTINUE ) ; IOutput outputWriter = getOutputWriter ( ) ; List serviceNames = ( List ) rc . getOption ( IArgument . SERVICE_NAME ) ; ServiceManager ssm = null ; boolean bError = false ; try { ssm = new ServiceManager ( adminSSOToken ) ; } catch ( SMSException e ) { throw new CLIException ( e , ExitCodes . REQUEST_CANNOT_BE_PROCESSED ) ; } catch ( SSOException e ) { throw new CLIException ( e , ExitCodes . REQUEST_CANNOT_BE_PROCESSED ) ; } for ( Iterator i = serviceNames . iterator ( ) ; i . hasNext ( ) ; ) { String name = ( String ) i . next ( ) ; String [ ] param = { name } ; try { writeLog ( LogWriter . LOG_ACCESS , Level . INFO , "ATTEMPT_DELETE_SERVICE" , param ) ; deleteService ( rc , ssm , name , adminSSOToken ) ; outputWriter . printlnMessage ( getResourceString ( "service-deleted" ) ) ; writeLog ( LogWriter . LOG_ACCESS , Level . INFO , "SUCCESS_DELETE_SERVICE" , param ) ; } catch ( CLIException e ) { bError = true ; if ( continueFlag ) { outputWriter . printlnError ( getResourceString ( "service-deletion-failed" ) + e . getMessage ( ) ) ; if ( isVerbose ( ) ) { outputWriter . printlnError ( Debugger . getStackTrace ( e ) ) ; } } else { throw e ; } } } if ( bError ) { throw new CLIException ( getResourceString ( "one-or-more-services-not-deleted" ) , ExitCodes . REQUEST_CANNOT_BE_PROCESSED ) ; } }
target:  Services a Commandline Request.