org.fusesource.fabric.commands
Class ContainerCreateChild

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.commands.ContainerCreateChild
All Implemented Interfaces:
org.apache.felix.gogo.commands.Action, org.apache.karaf.shell.console.BundleContextAware

public class ContainerCreateChild
extends ContainerCreateSupport


Field Summary
protected  java.lang.String name
           
protected  int number
           
protected  java.lang.String parent
           
 
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
ContainerCreateChild()
           
 
Method Summary
protected  java.lang.Object doExecute()
           
protected  void preCreateContainer(java.lang.String name)
           
 
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

parent

protected java.lang.String parent

name

protected java.lang.String name

number

protected int number
Constructor Detail

ContainerCreateChild

public ContainerCreateChild()
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)
Overrides:
preCreateContainer in class ContainerCreateSupport


Copyright © 2012 FuseSource. All Rights Reserved.