org.apache.servicemix.jbi.commands
Class JbiLifeCycleCommandSupport

java.lang.Object
  extended by org.apache.karaf.shell.console.AbstractAction
      extended by org.apache.karaf.shell.console.OsgiCommandSupport
          extended by org.apache.servicemix.jbi.commands.JbiCommandSupport
              extended by org.apache.servicemix.jbi.commands.JbiLifeCycleCommandSupport
All Implemented Interfaces:
org.apache.felix.gogo.commands.Action, org.apache.karaf.shell.console.BundleContextAware
Direct Known Subclasses:
ShutdownCommand, StartCommand, StopCommand

public abstract class JbiLifeCycleCommandSupport
extends JbiCommandSupport

JBI artifact lifecycle command


Field Summary
 
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
JbiLifeCycleCommandSupport()
           
 
Method Summary
protected  Object doExecute()
           
protected abstract  void handle(javax.jbi.management.LifeCycleMBean artifact)
           
 
Methods inherited from class org.apache.servicemix.jbi.commands.JbiCommandSupport
getComponent, getComponents, getServiceAssemblies, getServiceAssembly, getSharedLibraries
 
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
 

Constructor Detail

JbiLifeCycleCommandSupport

public JbiLifeCycleCommandSupport()
Method Detail

doExecute

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

handle

protected abstract void handle(javax.jbi.management.LifeCycleMBean artifact)
                        throws Exception
Throws:
Exception


Copyright © 2005-2012 FuseSource. All Rights Reserved.