public class MonitorServiceImpl extends Object implements MonitoringService, SynchronousBundleListener
| Constructor and Description |
|---|
MonitorServiceImpl(Felix felix) |
| Modifier and Type | Method and Description |
|---|---|
void |
bundleChanged(BundleEvent event)
Receives notification that a bundle has had a lifecycle change.
|
void |
destroy() |
Collection<ClassLoader> |
getClassLoaders() |
ExecutorService |
getExecutor(Bundle bundle) |
ThreadGroup |
getThreadGroup(Bundle bundle) |
Collection<ThreadGroup> |
getThreadGroups() |
<T> Future<T> |
runInContext(Bundle bundle,
Callable<T> callable) |
Future<?> |
runInContext(Bundle bundle,
Runnable run) |
void |
start() |
public MonitorServiceImpl(Felix felix)
public Future<?> runInContext(Bundle bundle, Runnable run)
runInContext in interface MonitoringServicepublic <T> Future<T> runInContext(Bundle bundle, Callable<T> callable)
runInContext in interface MonitoringServicepublic ExecutorService getExecutor(Bundle bundle)
getExecutor in interface MonitoringServicepublic ThreadGroup getThreadGroup(Bundle bundle)
getThreadGroup in interface MonitoringServicepublic Collection<ThreadGroup> getThreadGroups()
getThreadGroups in interface MonitoringServicepublic Collection<ClassLoader> getClassLoaders()
getClassLoaders in interface MonitoringServicepublic void start()
public void destroy()
public void bundleChanged(BundleEvent event)
BundleListenerbundleChanged in interface BundleListenerevent - The BundleEvent.Copyright © 2007-2017 FuseSource, Corp.. All Rights Reserved.