org.eclipse.jetty.osgi.boot.utils.internal
Class PackageAdminServiceTracker
java.lang.Object
org.eclipse.jetty.osgi.boot.utils.internal.PackageAdminServiceTracker
- All Implemented Interfaces:
- EventListener, org.osgi.framework.ServiceListener
public class PackageAdminServiceTracker
- extends Object
- implements org.osgi.framework.ServiceListener
When the PackageAdmin service is activated we can look for the fragments
attached to this bundle and "activate" them.
Method Summary |
void |
serviceChanged(org.osgi.framework.ServiceEvent event)
Invokes the optional BundleActivator in each fragment. |
void |
stop()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PackageAdminServiceTracker
public PackageAdminServiceTracker(org.osgi.framework.BundleContext context)
serviceChanged
public void serviceChanged(org.osgi.framework.ServiceEvent event)
- Invokes the optional BundleActivator in each fragment. By convention the
bundle activator for a fragment must be in the package that is defined by
the symbolic name of the fragment and the name of the class must be
'FragmentActivator'.
- Specified by:
serviceChanged
in interface org.osgi.framework.ServiceListener
- Parameters:
event
- The ServiceEvent
object.
stop
public void stop()
Copyright © 1995-2011 Mort Bay Consulting. All Rights Reserved.