Package org.apache.geronimo.gshell.shell

Examples of org.apache.geronimo.gshell.shell.InteractiveShell


      // that the DefaultEnvironment tries to overwrite.
      Environment environment = new DefaultEnvironment(ctx.getIo(), new DefaultVariables());
      ctx.setEnvironment(environment);
          IOTargetSource.setIO(ctx.getIo());
          EnvironmentTargetSource.setEnvironment(environment);
      InteractiveShell interactiveShell = createInteractiveShell(ctx);
      if( args!=null && args.length>0 ) {
        return interactiveShell.execute(args);
      } else {
        try {
          interactiveShell.run();
        } catch (ExitNotification e) {
          return null;
        }
      }
      return null;
View Full Code Here

TOP

Related Classes of org.apache.geronimo.gshell.shell.InteractiveShell

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.