org.apache.karaf.shell.osgi
Class Info

java.lang.Object
  extended by org.apache.karaf.shell.console.AbstractAction
      extended by org.apache.karaf.shell.console.OsgiCommandSupport
          extended by org.apache.karaf.shell.osgi.BundlesCommandOptional
              extended by org.apache.karaf.shell.osgi.Info
All Implemented Interfaces:
Action, BundleContextAware

public class Info
extends BundlesCommandOptional


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
Info()
           
 
Method Summary
protected  void doExecute(java.util.List<Bundle> bundles)
           
protected  void printInfo(Bundle bundle)
           Get the OSGI-INF/bundle.info entry from the bundle and display it.
 
Methods inherited from class org.apache.karaf.shell.osgi.BundlesCommandOptional
doExecute
 
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

Info

public Info()
Method Detail

doExecute

protected void doExecute(java.util.List<Bundle> bundles)
                  throws java.lang.Exception
Specified by:
doExecute in class BundlesCommandOptional
Parameters:
bundles - null if no bundle ids or names were specified.
Throws:
java.lang.Exception

printInfo

protected void printInfo(Bundle bundle)

Get the OSGI-INF/bundle.info entry from the bundle and display it.

Parameters:
bundle - the bundle.


Copyright © 2007-2011 FuseSource, Corp.. All Rights Reserved.