@Override public void handleRequest(RequestContext rc) throws CLIException {
  super.handleRequest(rc);
  String appTypeName=getStringOptionValue(PARAM_APPL_TYPE_NAME);
  String[] params={appTypeName};
  writeLog(LogWriter.LOG_ACCESS,Level.INFO,"ATTEMPT_SHOW_APPLICATION_TYPE",params);
  ApplicationType applType=ApplicationTypeManager.getAppplicationType(getAdminSubject(),appTypeName);
  IOutput writer=getOutputWriter();
  if (applType == null) {
    Object[] param={appTypeName};
    writer.printlnMessage(MessageFormat.format(getResourceString("show-application-type-not-found"),param));
  }
 else {
    displayAttrs(writer,applType);
  }
  writeLog(LogWriter.LOG_ACCESS,Level.INFO,"SUCCEEDED_SHOW_APPLICATION_TYPE",params);
}

@ Override public void handleRequest ( RequestContext rc ) throws CLIException { super . handleRequest ( rc ) ; String appTypeName = getStringOptionValue ( PARAM_APPL_TYPE_NAME ) ; String [ ] params = { appTypeName } ; writeLog ( LogWriter . LOG_ACCESS , Level . INFO , "ATTEMPT_SHOW_APPLICATION_TYPE" , params ) ; ApplicationType applType = ApplicationTypeManager . getAppplicationType ( getAdminSubject ( ) , appTypeName ) ; IOutput writer = getOutputWriter ( ) ; if ( applType == null ) { Object [ ] param = { appTypeName } ; writer . printlnMessage ( MessageFormat . format ( getResourceString ( "show-application-type-not-found" ) , param ) ) ; } else { displayAttrs ( writer , applType ) ; } writeLog ( LogWriter . LOG_ACCESS , Level . INFO , "SUCCEEDED_SHOW_APPLICATION_TYPE" , params ) ; }
services a commandline request .
