org.apache.felix.framework
Class MonitorServiceImpl
java.lang.Object
org.apache.felix.framework.MonitorServiceImpl
- All Implemented Interfaces:
- java.util.EventListener, MonitoringService, BundleListener
public class MonitorServiceImpl
- extends java.lang.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 java.util.concurrent.Future<?> runInContext(Bundle bundle,
java.lang.Runnable run)
- Specified by:
runInContext in interface MonitoringService
runInContext
public <T> java.util.concurrent.Future<T> runInContext(Bundle bundle,
java.util.concurrent.Callable<T> callable)
- Specified by:
runInContext in interface MonitoringService
getExecutor
public java.util.concurrent.ExecutorService getExecutor(Bundle bundle)
- Specified by:
getExecutor in interface MonitoringService
getThreadGroup
public java.lang.ThreadGroup getThreadGroup(Bundle bundle)
- Specified by:
getThreadGroup in interface MonitoringService
getThreadGroups
public java.util.Collection<java.lang.ThreadGroup> getThreadGroups()
- Specified by:
getThreadGroups in interface MonitoringService
getClassLoaders
public java.util.Collection<java.lang.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.