org.apache.felix.mosgi.managedelements.bundlesprobes
Class BundlesProbes

java.lang.Object
  extended by javax.management.NotificationBroadcasterSupport
      extended by org.apache.felix.mosgi.managedelements.bundlesprobes.BundlesProbes
All Implemented Interfaces:
java.util.EventListener, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, org.apache.felix.mosgi.console.ifc.TabIfc, BundlesProbesMBean, org.osgi.framework.BundleActivator, org.osgi.framework.BundleListener, org.osgi.framework.ServiceListener

public class BundlesProbes
extends javax.management.NotificationBroadcasterSupport
implements org.osgi.framework.BundleActivator, BundlesProbesMBean, org.osgi.framework.ServiceListener, org.osgi.framework.BundleListener


Constructor Summary
BundlesProbes()
           
 
Method Summary
 void bundleChanged(org.osgi.framework.BundleEvent event)
           
 java.util.Vector bundleList()
           
 java.lang.String getBundleName()
           
 void install(java.lang.String location)
           
 void serviceChanged(org.osgi.framework.ServiceEvent event)
           
 void start(org.osgi.framework.BundleContext context)
           
 void startService(java.lang.Long[] id)
           
 void stop(org.osgi.framework.BundleContext context)
           
 void stopService(java.lang.Long[] id)
           
 void uninstall(java.lang.Long[] id)
           
 void update(java.lang.Long[] id)
           
 
Methods inherited from class javax.management.NotificationBroadcasterSupport
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BundlesProbes

public BundlesProbes()
Method Detail

getBundleName

public java.lang.String getBundleName()
Specified by:
getBundleName in interface org.apache.felix.mosgi.console.ifc.TabIfc

start

public void start(org.osgi.framework.BundleContext context)
           throws java.lang.Exception
Specified by:
start in interface org.osgi.framework.BundleActivator
Throws:
java.lang.Exception

stop

public void stop(org.osgi.framework.BundleContext context)
Specified by:
stop in interface org.osgi.framework.BundleActivator

bundleList

public java.util.Vector bundleList()
Specified by:
bundleList in interface BundlesProbesMBean

startService

public void startService(java.lang.Long[] id)
Specified by:
startService in interface BundlesProbesMBean

stopService

public void stopService(java.lang.Long[] id)
Specified by:
stopService in interface BundlesProbesMBean

install

public void install(java.lang.String location)
Specified by:
install in interface BundlesProbesMBean

uninstall

public void uninstall(java.lang.Long[] id)
Specified by:
uninstall in interface BundlesProbesMBean

update

public void update(java.lang.Long[] id)
Specified by:
update in interface BundlesProbesMBean

serviceChanged

public void serviceChanged(org.osgi.framework.ServiceEvent event)
Specified by:
serviceChanged in interface org.osgi.framework.ServiceListener

bundleChanged

public void bundleChanged(org.osgi.framework.BundleEvent event)
Specified by:
bundleChanged in interface org.osgi.framework.BundleListener