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 void
bundleChanged(BundleEvent event)
Receives notification that a bundle has had a lifecycle change.void
frameworkEvent(FrameworkEvent event)
Receives notification of a generalFrameworkEvent
object.java.lang.ClassLoader
getClassLoader(Bundle b)
boolean
isValid()
-
-
-
Method Detail
-
getClassLoader
public java.lang.ClassLoader getClassLoader(Bundle b)
- Specified by:
getClassLoader
in interfaceFrameworkUtilWorker
-
isValid
public boolean isValid()
- Specified by:
isValid
in interfaceFrameworkUtilWorker
-
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 interfaceBundleListener
- Parameters:
event
- TheBundleEvent
.
-
frameworkEvent
public void frameworkEvent(FrameworkEvent event)
Description copied from interface:FrameworkListener
Receives notification of a generalFrameworkEvent
object.- Specified by:
frameworkEvent
in interfaceFrameworkListener
- Parameters:
event
- TheFrameworkEvent
object.
-
-