org.apache.karaf.features.command
Class FeaturesCommandSupport

java.lang.Object
  extended by org.apache.karaf.shell.console.AbstractAction
      extended by org.apache.karaf.shell.console.OsgiCommandSupport
          extended by org.apache.karaf.features.command.FeaturesCommandSupport
All Implemented Interfaces:
Action, BundleContextAware
Direct Known Subclasses:
AddUrlCommand, InfoFeatureCommand, InstallFeatureCommand, ListFeaturesCommand, ListFeatureVersionsCommand, ListRepositoriesCommand, ListUrlCommand, RefreshUrlCommand, RemoveRepositoryCommand, RemoveUrlCommand, UninstallFeatureCommand

public abstract class FeaturesCommandSupport
extends OsgiCommandSupport


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
FeaturesCommandSupport()
           
 
Method Summary
protected  java.lang.Object doExecute()
           
protected abstract  void doExecute(FeaturesService admin)
           
 
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

FeaturesCommandSupport

public FeaturesCommandSupport()
Method Detail

doExecute

protected java.lang.Object doExecute()
                              throws Exception
Specified by:
doExecute in class AbstractAction
Throws:
Exception

doExecute

protected abstract void doExecute(FeaturesService admin)
                           throws Exception
Throws:
Exception


Copyright © 2007-2011 Apache Software Foundation. All Rights Reserved.