org.apache.felix.framework
Class MonitorServiceImpl
java.lang.Object
org.apache.felix.framework.MonitorServiceImpl
- All Implemented Interfaces:
- EventListener, MonitoringService, BundleListener
public class MonitorServiceImpl
- extends Object
- implements MonitoringService, BundleListener
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MonitorServiceImpl
public MonitorServiceImpl(Felix felix)
runInContext
public Future<?> runInContext(Bundle bundle,
Runnable run)
- Specified by:
runInContext in interface MonitoringService
runInContext
public <T> Future<T> runInContext(Bundle bundle,
Callable<T> callable)
- Specified by:
runInContext in interface MonitoringService
getExecutor
public ExecutorService getExecutor(Bundle bundle)
- Specified by:
getExecutor in interface MonitoringService
getThreadGroup
public ThreadGroup getThreadGroup(Bundle bundle)
- Specified by:
getThreadGroup in interface MonitoringService
getThreadGroups
public Collection<ThreadGroup> getThreadGroups()
- Specified by:
getThreadGroups in interface MonitoringService
getClassLoaders
public Collection<ClassLoader> getClassLoaders()
- Specified by:
getClassLoaders in interface MonitoringService
start
public void start()
destroy
public void destroy()
bundleChanged
public void bundleChanged(BundleEvent event)
- Description copied from interface:
BundleListener
- Receives notification that a bundle has had a lifecycle change.
- Specified by:
bundleChanged in interface BundleListener
- Parameters:
event - The BundleEvent.
Copyright © 2007-2012 FuseSource, Corp.. All Rights Reserved.