|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.management.NotificationBroadcasterSupport
org.apache.felix.mosgi.managedelements.bundlesprobes.BundlesProbes
public class BundlesProbes
Constructor Summary | |
---|---|
BundlesProbes()
|
Method Summary | |
---|---|
void |
bundleChanged(BundleEvent event)
Receives notification that a bundle has had a lifecycle change. |
Vector |
bundleList()
|
String |
getBundleName()
|
void |
install(String location)
|
void |
serviceChanged(ServiceEvent event)
Receives notification that a service has had a lifecycle change. |
void |
start(BundleContext context)
Called when this bundle is started so the Framework can perform the bundle-specific activities necessary to start this bundle. |
void |
startService(Long[] id)
|
void |
stop(BundleContext context)
Called when this bundle is stopped so the Framework can perform the bundle-specific activities necessary to stop the bundle. |
void |
stopService(Long[] id)
|
void |
uninstall(Long[] id)
|
void |
update(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 |
---|
public BundlesProbes()
Method Detail |
---|
public String getBundleName()
getBundleName
in interface TabIfc
public void start(BundleContext context) throws Exception
BundleActivator
This method must complete and return to its caller in a timely manner.
start
in interface BundleActivator
context
- The execution context of the bundle being started.
Exception
- If this method throws an exception, this
bundle is marked as stopped and the Framework will remove this
bundle's listeners, unregister all services registered by this
bundle, and release all services used by this bundle.public void stop(BundleContext context)
BundleActivator
BundleActivator.start
method started. There should be no active threads that were started by
this bundle when this bundle returns. A stopped bundle must not call any
Framework objects.
This method must complete and return to its caller in a timely manner.
stop
in interface BundleActivator
context
- The execution context of the bundle being stopped.public Vector bundleList()
bundleList
in interface BundlesProbesMBean
public void startService(Long[] id)
startService
in interface BundlesProbesMBean
public void stopService(Long[] id)
stopService
in interface BundlesProbesMBean
public void install(String location)
install
in interface BundlesProbesMBean
public void uninstall(Long[] id)
uninstall
in interface BundlesProbesMBean
public void update(Long[] id)
update
in interface BundlesProbesMBean
public void serviceChanged(ServiceEvent event)
ServiceListener
serviceChanged
in interface ServiceListener
event
- The ServiceEvent
object.public void bundleChanged(BundleEvent event)
BundleListener
bundleChanged
in interface BundleListener
event
- The BundleEvent
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |