org.apache.karaf.shell.osgi
Class BundlesCommandOptional

java.lang.Object
  extended by org.apache.karaf.shell.console.OsgiCommandSupport
      extended by org.apache.karaf.shell.osgi.BundlesCommandOptional
All Implemented Interfaces:
Action, BundleContextAware
Direct Known Subclasses:
RefreshBundle, ResolveBundle

public abstract class BundlesCommandOptional
extends OsgiCommandSupport


Field Summary
 
Fields inherited from class org.apache.karaf.shell.console.OsgiCommandSupport
bundleContext, log, session, usedReferences
 
Constructor Summary
BundlesCommandOptional()
           
 
Method Summary
protected  java.lang.Object doExecute()
           
protected abstract  void doExecute(java.util.List<org.osgi.framework.Bundle> bundles)
           
 
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

BundlesCommandOptional

public BundlesCommandOptional()
Method Detail

doExecute

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

doExecute

protected abstract void doExecute(java.util.List<org.osgi.framework.Bundle> bundles)
                           throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2007-2010 FuseSource. All Rights Reserved.