1 /**********************************************************************
2 * Copyright (c) 2012, 2014 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
.tracecompass
.internal
.lttng2
.control
.stubs
.service
;
14 import org
.eclipse
.tracecompass
.internal
.lttng2
.control
.stubs
.shells
.LTTngToolsFileShell
;
16 @SuppressWarnings("javadoc")
17 public class CommandShellFactory
{
19 public static final int GET_SESSION_NAMES_COMMAND_SHELL
= 0;
21 private static CommandShellFactory fInstance
= null;
23 public static CommandShellFactory
getInstance() {
24 if (fInstance
== null) {
25 fInstance
= new CommandShellFactory();
30 public LTTngToolsFileShell
getFileShell() {
31 return new LTTngToolsFileShell();