org.apache.karaf.shell.osgi
Class ListBundles

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

public class ListBundles
extends OsgiCommandSupport


Field Summary
 
Fields inherited from class org.apache.karaf.shell.console.OsgiCommandSupport
bundleContext, log, session, usedReferences
 
Constructor Summary
ListBundles()
           
 
Method Summary
protected  java.lang.Object doExecute()
           
 java.lang.String getStateString(org.osgi.framework.Bundle bundle)
           
 java.lang.String getStateString(java.lang.String state, int length)
           
 void setBundleStateListenerFactories(java.util.List<BundleStateListener.Factory> bundleStateListenerFactories)
           
 
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

ListBundles

public ListBundles()
Method Detail

setBundleStateListenerFactories

public void setBundleStateListenerFactories(java.util.List<BundleStateListener.Factory> bundleStateListenerFactories)

doExecute

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

getStateString

public java.lang.String getStateString(org.osgi.framework.Bundle bundle)

getStateString

public java.lang.String getStateString(java.lang.String state,
                                       int length)


Copyright © 2007-2010 FuseSource. All Rights Reserved.