org.fusesource.fabric.boot.commands
Class Join

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

public class Join
extends org.apache.karaf.shell.console.OsgiCommandSupport
implements Join


Field Summary
 
Fields inherited from class org.apache.karaf.shell.console.OsgiCommandSupport
usedReferences
 
Fields inherited from class org.apache.karaf.shell.console.AbstractAction
log, session
 
Constructor Summary
Join()
           
 
Method Summary
protected  java.lang.Object doExecute()
           
 org.osgi.framework.BundleContext getBundleContext()
           
 java.lang.String getVersion()
           
 java.lang.String getZookeeperUrl()
           
 java.lang.Object run()
           
 void setBundleContext(org.osgi.framework.BundleContext bundleContext)
           
 void setConfigurationAdmin(org.osgi.service.cm.ConfigurationAdmin configurationAdmin)
           
 void setVersion(java.lang.String version)
           
 void setZooKeeper(IZKClient zooKeeper)
           
 void setZookeeperUrl(java.lang.String zookeeperUrl)
           
 
Methods inherited from class org.apache.karaf.shell.console.OsgiCommandSupport
execute, getAllServices, getService, ungetServices
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Join

public Join()
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

run

public java.lang.Object run()
                     throws java.lang.Exception
Specified by:
run in interface Join
Throws:
java.lang.Exception

setConfigurationAdmin

public void setConfigurationAdmin(org.osgi.service.cm.ConfigurationAdmin configurationAdmin)
Specified by:
setConfigurationAdmin in interface Join

setZooKeeper

public void setZooKeeper(IZKClient zooKeeper)
Specified by:
setZooKeeper in interface Join

getVersion

public java.lang.String getVersion()
Specified by:
getVersion in interface Join

setVersion

public void setVersion(java.lang.String version)
Specified by:
setVersion in interface Join

getZookeeperUrl

public java.lang.String getZookeeperUrl()
Specified by:
getZookeeperUrl in interface Join

setZookeeperUrl

public void setZookeeperUrl(java.lang.String zookeeperUrl)
Specified by:
setZookeeperUrl in interface Join

getBundleContext

public org.osgi.framework.BundleContext getBundleContext()
Overrides:
getBundleContext in class org.apache.karaf.shell.console.OsgiCommandSupport

setBundleContext

public void setBundleContext(org.osgi.framework.BundleContext bundleContext)
Specified by:
setBundleContext in interface org.apache.karaf.shell.console.BundleContextAware
Overrides:
setBundleContext in class org.apache.karaf.shell.console.OsgiCommandSupport


Copyright © 2012 FuseSource. All Rights Reserved.