1 /**********************************************************************
2 * Copyright (c) 2012 Ericsson
4 * All rights reserved. This program and the accompanying materials are
5 * made available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
10 * Bernd Hufmann - Initial API and implementation
11 **********************************************************************/
12 package org
.eclipse
.linuxtools
.internal
.lttng2
.stubs
.service
;
14 import org
.eclipse
.linuxtools
.internal
.lttng2
.stubs
.shells
.LTTngToolsFileShell
;
16 public class CommandShellFactory
{
18 public static final int GET_SESSION_NAMES_COMMAND_SHELL
= 0;
20 private static CommandShellFactory fInstance
= null;
22 public static CommandShellFactory
getInstance() {
23 if (fInstance
== null) {
24 fInstance
= new CommandShellFactory();
29 // public ICommandShell getRealShell() {
30 // ISystemRegistry registry = RSECorePlugin.getTheSystemRegistry();
31 // IHost host = registry.getLocalHost();
32 // RemoteSystemProxy proxy = new RemoteSystemProxy(host);
33 // ICommandShell shell = new LTTngToolsSimulatorShell(proxy);
37 public LTTngToolsFileShell
getFileShell() {
38 return new LTTngToolsFileShell();