Package org.apache.aries.util.internal
Class DefaultWorker
- java.lang.Object
-
- org.apache.aries.util.internal.DefaultWorker
-
- All Implemented Interfaces:
java.util.EventListener,FrameworkUtilWorker,BundleListener,FrameworkListener
- Direct Known Subclasses:
EquinoxWorker,FelixWorker
public class DefaultWorker extends java.lang.Object implements FrameworkUtilWorker, BundleListener, FrameworkListener
-
-
Constructor Summary
Constructors Constructor Description DefaultWorker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbundleChanged(BundleEvent event)Receives notification that a bundle has had a lifecycle change.voidframeworkEvent(FrameworkEvent event)Receives notification of a generalFrameworkEventobject.java.lang.ClassLoadergetClassLoader(Bundle b)booleanisValid()
-
-
-
Method Detail
-
getClassLoader
public java.lang.ClassLoader getClassLoader(Bundle b)
- Specified by:
getClassLoaderin interfaceFrameworkUtilWorker
-
isValid
public boolean isValid()
- Specified by:
isValidin interfaceFrameworkUtilWorker
-
bundleChanged
public void bundleChanged(BundleEvent event)
Description copied from interface:BundleListenerReceives notification that a bundle has had a lifecycle change.- Specified by:
bundleChangedin interfaceBundleListener- Parameters:
event- TheBundleEvent.
-
frameworkEvent
public void frameworkEvent(FrameworkEvent event)
Description copied from interface:FrameworkListenerReceives notification of a generalFrameworkEventobject.- Specified by:
frameworkEventin interfaceFrameworkListener- Parameters:
event- TheFrameworkEventobject.
-
-