org.fusesource.fabric.boot.commands
Class ContainerCreateSsh

java.lang.Object
  extended by org.apache.karaf.shell.console.AbstractAction
      extended by org.apache.karaf.shell.console.OsgiCommandSupport
          extended by org.fusesource.fabric.boot.commands.support.FabricCommand
              extended by org.fusesource.fabric.boot.commands.support.ContainerCreateSupport
                  extended by org.fusesource.fabric.boot.commands.ContainerCreateSsh
All Implemented Interfaces:
org.apache.felix.gogo.commands.Action, org.apache.karaf.shell.console.BundleContextAware

public class ContainerCreateSsh
extends ContainerCreateSupport


Field Summary
protected  java.lang.String name
           
protected  int number
           
 
Fields inherited from class org.fusesource.fabric.boot.commands.support.ContainerCreateSupport
isEnsembleServer, jvmOpts, profiles, resolver, version
 
Fields inherited from class org.fusesource.fabric.boot.commands.support.FabricCommand
AGENT_PID, configurationAdmin, fabricService
 
Fields inherited from class org.apache.karaf.shell.console.OsgiCommandSupport
bundleContext, usedReferences
 
Fields inherited from class org.apache.karaf.shell.console.AbstractAction
log, session
 
Constructor Summary
ContainerCreateSsh()
           
 
Method Summary
protected  java.lang.Object doExecute()
           
protected  void preCreateContainer(java.lang.String name)
          Pre validates input before creating the container(s)
 
Methods inherited from class org.fusesource.fabric.boot.commands.support.ContainerCreateSupport
displayContainers, getProfileNames, postCreateContainers
 
Methods inherited from class org.fusesource.fabric.boot.commands.support.FabricCommand
checkFabricAvailable, doesContainerExist, getConfigurationAdmin, getContainer, getFabricService, getProfile, getProfiles, getProfiles, getZooKeeper, percentText, setConfigurationAdmin, setFabricService, setZooKeeper, toString
 
Methods inherited from class org.apache.karaf.shell.console.OsgiCommandSupport
execute, getAllServices, getBundleContext, getService, setBundleContext, ungetServices
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected java.lang.String name

number

protected int number
Constructor Detail

ContainerCreateSsh

public ContainerCreateSsh()
Method Detail

doExecute

protected java.lang.Object doExecute()
                              throws java.lang.Exception
Specified by:
doExecute in class org.apache.karaf.shell.console.AbstractAction
Throws:
java.lang.Exception

preCreateContainer

protected void preCreateContainer(java.lang.String name)
Description copied from class: ContainerCreateSupport
Pre validates input before creating the container(s)

Overrides:
preCreateContainer in class ContainerCreateSupport
Parameters:
name - the name of the container to create


Copyright © 2012 FuseSource. All Rights Reserved.